kinotron: Fix tvType
All checks were successful
Build / build (push) Successful in 1m11s

This commit is contained in:
CakesTwix 2025-02-22 20:39:04 +02:00
parent ae52b680f5
commit ac28139783
Signed by: CakesTwix
GPG key ID: 7B11051D5CE19825
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 6
version = 7
dependencies {
testImplementation(libs.junit)

View file

@ -117,7 +117,7 @@ class KinoTronProvider : MainAPI() {
// Log.d("load-debug", playerUrl)
// Return to app
// Parse Episodes as Series
return if (tvType == TvType.TvSeries || tvType == TvType.Anime) {
return if (tvType != TvType.Movie) {
val playerRawJson = app.get(playerUrl).document.select("script").html()
.substringAfterLast("file:\'")
.substringBefore("\',")