From 134077fcdbe813d16a2fab8e3ca126ab306f5c0e Mon Sep 17 00:00:00 2001 From: RemixDev Date: Tue, 4 Jan 2022 22:06:44 +0100 Subject: [PATCH] fixed download for 360RA files --- deemix/decryption.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/decryption.js b/deemix/decryption.js index ca79138..c12238f 100644 --- a/deemix/decryption.js +++ b/deemix/decryption.js @@ -85,7 +85,7 @@ async function streamTrack(outputStream, track, start=0, downloadObject, listene async function* depadder(source){ let isStart = true for await (let chunk of source){ - if (isStart && chunk[0] == 0){ + if (isStart && chunk[0] == 0 && chunk.slice(4, 8).toString() !== "ftyp"){ let i for (i = 0; i < chunk.length; i++){ let byte = chunk[i]