From c93c25e897e5d373b4913cf0cdfc3c2c225d88c6 Mon Sep 17 00:00:00 2001 From: Snowflake107 Date: Sat, 24 Apr 2021 10:04:33 +0545 Subject: [PATCH] fix live content for searches --- src/Player.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Player.ts b/src/Player.ts index 42921b4..eff1d9b 100644 --- a/src/Player.ts +++ b/src/Player.ts @@ -1166,7 +1166,6 @@ export class Player extends EventEmitter { let newStream: any; if (queue.playing.raw.source === 'youtube') { newStream = ytdl(queue.playing.url, { - filter: queue.playing.raw.live ? undefined : 'audioonly', opusEncoded: true, encoderArgs: queue.playing.raw.live ? [] : encoderArgs, seek: seekTime / 1000,