Fix Crunchy Qualities

This commit is contained in:
Blatzar 2022-09-13 17:28:40 +02:00
parent af2fc4f1f8
commit 7ecd74b98f
2 changed files with 14 additions and 14 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 4
version = 5
cloudstream {

View file

@ -467,19 +467,19 @@ class KrunchyProvider : MainAPI() {
streams.apmap { stream ->
if (stream.url.contains("m3u8") && stream.format!!.contains("adaptive")) {
hlsHelper.m3u8Generation(M3u8Helper.M3u8Stream(stream.url, null), false)
.forEach {
// hlsHelper.m3u8Generation(M3u8Helper.M3u8Stream(stream.url, null), false)
// .forEach {
callback(
ExtractorLink(
"Crunchyroll",
"Crunchy - ${stream.title}",
it.streamUrl,
stream.url,
"",
getQualityFromName(it.quality.toString()),
getQualityFromName(stream.resolution),
true
)
)
}
// }
} else if (stream.format == "trailer_hls") {
val premiumStream = stream.url
.replace("\\/", "/")