mirror of
https://gitlab.com/RemixDev/deemix-js.git
synced 2024-12-28 02:16:08 +00:00
fixed download for 360RA files
This commit is contained in:
parent
2bb03c2f50
commit
134077fcdb
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue