fix(all/torrentio): Fix empty video list for movies (#2930)
This commit is contained in:
parent
4aa364d912
commit
17f9e4163e
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'Torrentio Anime (Torrent / Debrid)'
|
||||
extClass = '.Torrentio'
|
||||
extVersionCode = 2
|
||||
extVersionCode = 3
|
||||
containsNsfw = false
|
||||
}
|
||||
|
||||
|
@ -379,11 +379,10 @@ class Torrentio : ConfigurableAnimeSource, AnimeHttpSource() {
|
||||
|
||||
"movie" -> {
|
||||
// Handle movie response
|
||||
val movieId = episodeList.meta.kitsuId?.substringAfterLast(":")?.toIntOrNull() ?: 0
|
||||
listOf(
|
||||
SEpisode.create().apply {
|
||||
episode_number = 1.0F
|
||||
url = "/stream/movie/$movieId.json"
|
||||
url = "/stream/movie/${episodeList.meta.kitsuId}.json"
|
||||
name = "Movie"
|
||||
},
|
||||
).reversed()
|
||||
|
Loading…
x
Reference in New Issue
Block a user