hls quickfix

This commit is contained in:
Arjix 2021-09-02 00:05:53 +03:00 committed by GitHub
parent 6ff755c8f4
commit 0fbc304761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}