fix live content for searches

This commit is contained in:
Snowflake107 2021-04-24 10:04:33 +05:45
parent c7b43ddce5
commit c93c25e897

View file

@ -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,