mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
bump nicehttp
This commit is contained in:
parent
164f2129ae
commit
fbae10d9e3
3 changed files with 4 additions and 7 deletions
|
@ -64,6 +64,7 @@ fun getBaseUrl(url: String): String {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
fun getLanguage(language: String?): String? {
|
||||
return SubtitleHelper.fromTwoLettersToLanguage(language ?: return null)
|
||||
?: SubtitleHelper.fromTwoLettersToLanguage(language.substringBefore("-"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue