forked from AlmightyHak/extensions-source
Merge pull request #895 from Arkai1/Torrentio-Anime
(all/torrentioanime) Fixing Some episode not shown due to ONA and OVA class
This commit is contained in:
commit
1b10911a8b
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
ext {
|
||||
extName = 'Torrentio Anime (Torrent / Debrid)'
|
||||
extClass = '.Torrentio'
|
||||
extVersionCode = 15
|
||||
extVersionCode = 16
|
||||
containsNsfw = false
|
||||
}
|
||||
|
||||
|
|
|
@ -310,7 +310,7 @@ class Torrentio : ConfigurableAnimeSource, AnimeHttpSource() {
|
|||
val aniZipResponse = json.decodeFromString<AniZipResponse>(responseString)
|
||||
|
||||
return when (aniZipResponse.mappings?.type) {
|
||||
"TV" -> {
|
||||
"TV", "ONA", "OVA" -> {
|
||||
aniZipResponse.episodes
|
||||
?.let { episodes ->
|
||||
if (preferences.getBoolean(UPCOMING_EP_KEY, UPCOMING_EP_DEFAULT)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue