From 772087cc4531103a97a79d3b060f9cb93222c229 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sun, 25 Jul 2021 12:19:57 +0200 Subject: [PATCH] Fixed lib not decrypting tracks --- deemix/decryption.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/decryption.js b/deemix/decryption.js index 512e83b..300b1f4 100644 --- a/deemix/decryption.js +++ b/deemix/decryption.js @@ -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 = {