forked from recloudstream/cloudstream
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 gg: String = split[split.size - 1].split("?")[0]
|
||||
return if (gg.contains(".")) {
|
||||
gg.split(".")[1].ifEmpty { null }
|
||||
gg.split(".").ifEmpty { null }?.last()
|
||||
} else null
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue