This commit is contained in:
alex 2024-01-16 16:11:30 +07:00
parent 11b4998d1d
commit aaf7413dfe

View file

@ -20,7 +20,7 @@ object SubsExtractors {
} else { } else {
"series/$imdbId:$season:$episode" "series/$imdbId:$season:$episode"
} }
app.get("${openSubAPI}/subtitles/$slug.json").parsedSafe<OsResult>()?.subtitles?.map { sub -> app.get("${openSubAPI}/subtitles/$slug.json", interceptor = interceptor).parsedSafe<OsResult>()?.subtitles?.map { sub ->
subtitleCallback.invoke( subtitleCallback.invoke(
SubtitleFile( SubtitleFile(
SubtitleHelper.fromThreeLettersToLanguage(sub.lang ?: "") ?: sub.lang SubtitleHelper.fromThreeLettersToLanguage(sub.lang ?: "") ?: sub.lang