Fixed lib not decrypting tracks

This commit is contained in:
RemixDev 2021-07-25 12:19:57 +02:00
parent 6d9b535020
commit 772087cc45

View file

@ -38,7 +38,7 @@ async function streamTrack(outputStream, track, start=0, downloadObject, listene
let headers = {'User-Agent': USER_AGENT_HEADER}
let chunkLength = start
let complete = 0
let isCryptedStream = track.downloadURL.includes("/mobile/")
let isCryptedStream = track.downloadURL.includes("/mobile/") || track.downloadURL.includes("/media/")
let blowfishKey
let itemData = {