mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Stream button type switch support
This commit is contained in:
parent
0afbc90cd2
commit
79d76c6d3d
1 changed files with 2 additions and 3 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
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue