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,
|
link.name ?: link.url,
|
||||||
unshortenLinkSafe(link.url), // unshorten because it might be a raw link
|
unshortenLinkSafe(link.url), // unshorten because it might be a raw link
|
||||||
referer ?: "",
|
referer ?: "",
|
||||||
Qualities.Unknown.value, isM3u8 ?: normalSafeApiCall {
|
Qualities.Unknown.value,
|
||||||
URI(link.url).path?.substringAfterLast(".")?.contains("m3u")
|
type = INFER_TYPE,
|
||||||
} ?: false
|
|
||||||
) to null
|
) to null
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue