removed a println

This commit is contained in:
Arjix 2021-09-01 15:59:28 +03:00 committed by GitHub
parent bbe56aeea7
commit 11f16ad510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,7 @@ import java.util.*
import javax.crypto.Cipher
import javax.crypto.spec.IvParameterSpec
import javax.crypto.spec.SecretKeySpec
import com.lagradost.cloudstream3.mvvm.logError
class M3u8Helper {
@ -153,7 +154,6 @@ class M3u8Helper {
}
encryptionIv = match.component3().toByteArray()
println("$encryptionUri, $headers")
val encryptionKeyResponse = khttp.get(encryptionUri, headers=headers)
encryptionData = encryptionKeyResponse.content
}
@ -188,7 +188,7 @@ class M3u8Helper {
yield(HlsDownloadData(tsData, c, totalTs))
lastYield = c
} catch (e: Exception) {
e.printStackTrace()
logError(e)
if (retries == 3) {
yield(HlsDownloadData(byteArrayOf(), c, totalTs, true))
break@loop