diff --git a/Crunchyroll/build.gradle.kts b/Crunchyroll/build.gradle.kts index 8c4e9a0..3be4f4e 100644 --- a/Crunchyroll/build.gradle.kts +++ b/Crunchyroll/build.gradle.kts @@ -1,5 +1,5 @@ // use an integer for version numbers -version = 4 +version = 5 cloudstream { diff --git a/Crunchyroll/src/main/kotlin/com/lagradost/CrunchyrollProvider.kt b/Crunchyroll/src/main/kotlin/com/lagradost/CrunchyrollProvider.kt index 45ac4ff..ab7a40d 100644 --- a/Crunchyroll/src/main/kotlin/com/lagradost/CrunchyrollProvider.kt +++ b/Crunchyroll/src/main/kotlin/com/lagradost/CrunchyrollProvider.kt @@ -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 { - callback( - ExtractorLink( - "Crunchyroll", - "Crunchy - ${stream.title}", - it.streamUrl, - "", - getQualityFromName(it.quality.toString()), - true - ) - ) - } +// hlsHelper.m3u8Generation(M3u8Helper.M3u8Stream(stream.url, null), false) +// .forEach { + callback( + ExtractorLink( + "Crunchyroll", + "Crunchy - ${stream.title}", + stream.url, + "", + getQualityFromName(stream.resolution), + true + ) + ) +// } } else if (stream.format == "trailer_hls") { val premiumStream = stream.url .replace("\\/", "/")