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 {
|
ext {
|
||||||
extName = 'Torrentio Anime (Torrent / Debrid)'
|
extName = 'Torrentio Anime (Torrent / Debrid)'
|
||||||
extClass = '.Torrentio'
|
extClass = '.Torrentio'
|
||||||
extVersionCode = 15
|
extVersionCode = 16
|
||||||
containsNsfw = false
|
containsNsfw = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -310,7 +310,7 @@ class Torrentio : ConfigurableAnimeSource, AnimeHttpSource() {
|
||||||
val aniZipResponse = json.decodeFromString<AniZipResponse>(responseString)
|
val aniZipResponse = json.decodeFromString<AniZipResponse>(responseString)
|
||||||
|
|
||||||
return when (aniZipResponse.mappings?.type) {
|
return when (aniZipResponse.mappings?.type) {
|
||||||
"TV" -> {
|
"TV", "ONA", "OVA" -> {
|
||||||
aniZipResponse.episodes
|
aniZipResponse.episodes
|
||||||
?.let { episodes ->
|
?.let { episodes ->
|
||||||
if (preferences.getBoolean(UPCOMING_EP_KEY, UPCOMING_EP_DEFAULT)) {
|
if (preferences.getBoolean(UPCOMING_EP_KEY, UPCOMING_EP_DEFAULT)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue