diff --git a/src/Structures/Queue.ts b/src/Structures/Queue.ts index 546ef25..cb85fc9 100644 --- a/src/Structures/Queue.ts +++ b/src/Structures/Queue.ts @@ -643,11 +643,7 @@ class Queue { } } 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, {