Browse Source

Made downloadObject optional in streamTrack

main
RemixDev 2 weeks ago
parent
commit
d3a0b5674a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      deemix/decryption.js

+ 1
- 1
deemix/decryption.js View File

@ -35,7 +35,7 @@ function reverseStreamURL(url){
}
async function streamTrack(outputStream, track, start=0, downloadObject, listener){
if (downloadObject.isCanceled) throw new DownloadCanceled
if (downloadObject && downloadObject.isCanceled) throw new DownloadCanceled
let headers = {'User-Agent': USER_AGENT_HEADER}
let chunkLength = start
let complete = 0


Loading…
Cancel
Save