mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
hls quickfix
This commit is contained in:
parent
6ff755c8f4
commit
0fbc304761
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class M3u8Helper {
|
||||||
val split = url.split("/")
|
val split = url.split("/")
|
||||||
val gg: String = split[split.size - 1].split("?")[0]
|
val gg: String = split[split.size - 1].split("?")[0]
|
||||||
return if (gg.contains(".")) {
|
return if (gg.contains(".")) {
|
||||||
gg.split(".")[1].ifEmpty { null }
|
gg.split(".").ifEmpty { null }?.last()
|
||||||
} else null
|
} else null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue