pretty
This commit is contained in:
parent
e2fad021d6
commit
5d57f6589a
1 changed files with 1 additions and 5 deletions
|
@ -643,11 +643,7 @@ class Queue<T = unknown> {
|
|||
}
|
||||
} else {
|
||||
const arbitraryStream = (hasCustomDownloader && (await this.onBeforeCreateStream(track, track.raw.source || track.raw.engine, this))) || null;
|
||||
stream = arbitraryStream
|
||||
? await track.raw.engine.downloadProgressive()
|
||||
: typeof track.raw.engine === "function"
|
||||
? await track.raw.engine()
|
||||
: track.raw.engine;
|
||||
stream = arbitraryStream ? await track.raw.engine.downloadProgressive() : typeof track.raw.engine === "function" ? await track.raw.engine() : track.raw.engine;
|
||||
}
|
||||
|
||||
const ffmpegStream = createFFmpegStream(stream, {
|
||||
|
|
Loading…
Reference in a new issue