Fix variable

This commit is contained in:
Luna712 2023-10-02 18:18:34 -06:00 committed by GitHub
parent 7a0e4c3dee
commit 45e6e16546
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -225,7 +225,7 @@ class CS3IPlayer : IPlayer {
releasePlayer()
if (link != null) {
// only video and m3u8 support atm (DASH is untested)
val isSupportedType == link.type == ExtractorLinkType.VIDEO || link.type == ExtractorLinkType.M3U8
val isSupportedType = link.type == ExtractorLinkType.VIDEO || link.type == ExtractorLinkType.M3U8
if (isSupportedType && preview) {
val headers = if (link.referer.isBlank()) {
link.headers