mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Merge branch 'changes' of https://github.com/recloudstream/cloudstream into chang
This commit is contained in:
commit
06ef5ecdae
1 changed files with 2 additions and 2 deletions
|
@ -76,12 +76,12 @@ open class Cda: ExtractorApi() {
|
||||||
return if (a.contains("/upstream")) "https://" + a.replace("/upstream", ".mp4/upstream")
|
return if (a.contains("/upstream")) "https://" + a.replace("/upstream", ".mp4/upstream")
|
||||||
else "https://${a}.mp4"
|
else "https://${a}.mp4"
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getFile(a: String) = when {
|
private fun getFile(a: String) = when {
|
||||||
a.startsWith("uggc") -> cdaUggc(a)
|
a.startsWith("uggc") -> cdaUggc(a)
|
||||||
!a.startsWith("http") -> cdaDecrypt(a)
|
!a.startsWith("http") -> cdaDecrypt(a)
|
||||||
else -> a
|
else -> a
|
||||||
}
|
}
|
||||||
|
|
||||||
data class VideoPlayerData(
|
data class VideoPlayerData(
|
||||||
val file: String,
|
val file: String,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue