mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Stream button type switch support (#597)
* Stream button type switch support * Hide Hls playlist switch
This commit is contained in:
parent
0afbc90cd2
commit
f6b0ea8dfa
2 changed files with 4 additions and 4 deletions
|
@ -67,9 +67,8 @@ class LinkGenerator(
|
|||
link.name ?: link.url,
|
||||
unshortenLinkSafe(link.url), // unshorten because it might be a raw link
|
||||
referer ?: "",
|
||||
Qualities.Unknown.value, isM3u8 ?: normalSafeApiCall {
|
||||
URI(link.url).path?.substringAfterLast(".")?.contains("m3u")
|
||||
} ?: false
|
||||
Qualities.Unknown.value,
|
||||
type = INFER_TYPE,
|
||||
) to null
|
||||
)
|
||||
}
|
||||
|
|
|
@ -49,7 +49,8 @@
|
|||
android:layout_marginTop="10dp"
|
||||
android:text="@string/hls_playlist"
|
||||
android:textColor="?attr/textColor"
|
||||
android:textSize="16sp" />
|
||||
android:textSize="16sp"
|
||||
android:visibility="invisible" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue