Skip to content

Commit

Permalink
Torrentio: Fix Violist empty for Movies.
Browse files Browse the repository at this point in the history
  • Loading branch information
ni3x committed Feb 14, 2024
1 parent bb79f8b commit 689ea75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/all/torrentioanime/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext {
extName = 'Torrentio Anime (Torrent / Debrid)'
extClass = '.Torrentio'
extVersionCode = 2
extVersionCode = 3
containsNsfw = false
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 689ea75

Please sign in to comment.