small tweak in sora

This commit is contained in:
hexated 2022-12-06 15:50:52 +07:00
parent 002340c1d6
commit 330ed262d6
2 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers // use an integer for version numbers
version = 44 version = 45
cloudstream { cloudstream {

View file

@ -820,6 +820,15 @@ object SoraExtractor : SoraStream() {
it.seriesNo == (episode ?: 0) it.seriesNo == (episode ?: 0)
} }
json?.subtitlingList?.map { sub ->
subtitleCallback.invoke(
SubtitleFile(
sub.language ?: "",
sub.subtitlingUrl ?: return@map
)
)
}
json?.definitionList?.apmap { video -> json?.definitionList?.apmap { video ->
delay(1000) delay(1000)
app.get( app.get(
@ -840,15 +849,6 @@ object SoraExtractor : SoraStream() {
} }
} }
json?.subtitlingList?.map { sub ->
subtitleCallback.invoke(
SubtitleFile(
sub.language ?: "",
sub.subtitlingUrl ?: return@map
)
)
}
} }
suspend fun invokeXmovies( suspend fun invokeXmovies(