From 8e5f14d70e3f765552d6c932f42c7d0059c6be1d Mon Sep 17 00:00:00 2001 From: Ghost <> Date: Fri, 20 Jun 2025 01:03:02 -0500 Subject: [PATCH] Added a sort by codec feature to animetorrentio extension (#961) Checklist: - [x] Updated `extVersionCode` value in `build.gradle` for individual extensions - [ ] Updated `overrideVersionCode` or `baseVersionCode` as needed for all multisrc extensions - [ ] Referenced all related issues in the PR body (e.g. "Closes #xyz") - [ ] Added the `isNsfw = true` flag in `build.gradle` when appropriate - [x] Have not changed source names - [x] Have explicitly kept the `id` if a source's name or language were changed - [x] Have tested the modifications by compiling and running the extension through Android Studio - [ ] Have removed `web_hi_res_512.png` when adding a new extension - [ ] Have made sure all the icons are in png format Co-authored-by: worldInColors Reviewed-on: https://kohiden.xyz/Kohi-den/extensions-source/pulls/961 Co-authored-by: Ghost <> Co-committed-by: Ghost <> --- src/all/torrentioanime/build.gradle | 2 +- .../all/torrentioanime/Torrentio.kt | 74 +++++++++++++++++-- 2 files changed, 68 insertions(+), 8 deletions(-) diff --git a/src/all/torrentioanime/build.gradle b/src/all/torrentioanime/build.gradle index 2245029d..d1e0fd47 100644 --- a/src/all/torrentioanime/build.gradle +++ b/src/all/torrentioanime/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Torrentio Anime (Torrent / Debrid)' extClass = '.Torrentio' - extVersionCode = 16 + extVersionCode = 17 containsNsfw = false } diff --git a/src/all/torrentioanime/src/eu/kanade/tachiyomi/animeextension/all/torrentioanime/Torrentio.kt b/src/all/torrentioanime/src/eu/kanade/tachiyomi/animeextension/all/torrentioanime/Torrentio.kt index 2b30443a..1f10183a 100644 --- a/src/all/torrentioanime/src/eu/kanade/tachiyomi/animeextension/all/torrentioanime/Torrentio.kt +++ b/src/all/torrentioanime/src/eu/kanade/tachiyomi/animeextension/all/torrentioanime/Torrentio.kt @@ -456,18 +456,50 @@ class Torrentio : ConfigurableAnimeSource, AnimeHttpSource() { }.orEmpty() } - override fun List