diff --git a/SoraStream/build.gradle.kts b/SoraStream/build.gradle.kts index eebdfe33..66f39c81 100644 --- a/SoraStream/build.gradle.kts +++ b/SoraStream/build.gradle.kts @@ -1,5 +1,5 @@ // use an integer for version numbers -version = 44 +version = 45 cloudstream { diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt index f0066ec9..08e15dd1 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt @@ -820,6 +820,15 @@ object SoraExtractor : SoraStream() { it.seriesNo == (episode ?: 0) } + json?.subtitlingList?.map { sub -> + subtitleCallback.invoke( + SubtitleFile( + sub.language ?: "", + sub.subtitlingUrl ?: return@map + ) + ) + } + json?.definitionList?.apmap { video -> delay(1000) 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(