This commit is contained in:
parent
7ba94d6e44
commit
e0558d9115
2 changed files with 10 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 7
|
version = 8
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package com.lagradost
|
package com.lagradost
|
||||||
|
|
||||||
|
import android.util.Log
|
||||||
import com.lagradost.models.PlayerJson
|
import com.lagradost.models.PlayerJson
|
||||||
import com.lagradost.cloudstream3.*
|
import com.lagradost.cloudstream3.*
|
||||||
import com.lagradost.cloudstream3.LoadResponse.Companion.addActors
|
import com.lagradost.cloudstream3.LoadResponse.Companion.addActors
|
||||||
|
@ -191,14 +192,15 @@ class EneyidaProvider : MainAPI() {
|
||||||
referer = "https://tortuga.wtf/"
|
referer = "https://tortuga.wtf/"
|
||||||
).last().let(callback)
|
).last().let(callback)
|
||||||
|
|
||||||
if(episode.subtitle.isBlank()) return true
|
if(episode.subtitle.isBlank()) return@map
|
||||||
subtitleCallback.invoke(
|
episode.subtitle.split(",").forEach{
|
||||||
SubtitleFile(
|
subtitleCallback.invoke(
|
||||||
episode.subtitle.substringAfterLast("[").substringBefore("]"),
|
SubtitleFile(
|
||||||
episode.subtitle.substringAfter("]")
|
it.substringAfterLast("[").substringBefore("]"),
|
||||||
|
it.substringAfter("]")
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
}
|
||||||
return true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue