Update Torrentio.kt

This commit is contained in:
Arkai1 2025-04-10 20:23:38 +05:30 committed by GitHub
parent 07b096361a
commit a099d6abcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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", "ONA" -> { "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)) {