Fix title in details (#1243)

This commit is contained in:
Secozzi
2023-02-05 18:52:44 +01:00
committed by GitHub
parent 11100e1577
commit 6ecdc70157
2 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Jellyfin'
pkgNameSuffix = 'all.jellyfin'
extClass = '.Jellyfin'
extVersionCode = 5
extVersionCode = 6
libVersion = '13'
}

View File

@ -271,7 +271,11 @@ class Jellyfin : ConfigurableAnimeSource, AnimeHttpSource() {
""
}
anime.title = info.Name
anime.title = if (info.SeriesName == null) {
info.Name
} else {
"${info.SeriesName} ${info.Name}"
}
return anime
}