fix live content for searches
This commit is contained in:
parent
c7b43ddce5
commit
c93c25e897
1 changed files with 0 additions and 1 deletions
|
@ -1166,7 +1166,6 @@ export class Player extends EventEmitter {
|
||||||
let newStream: any;
|
let newStream: any;
|
||||||
if (queue.playing.raw.source === 'youtube') {
|
if (queue.playing.raw.source === 'youtube') {
|
||||||
newStream = ytdl(queue.playing.url, {
|
newStream = ytdl(queue.playing.url, {
|
||||||
filter: queue.playing.raw.live ? undefined : 'audioonly',
|
|
||||||
opusEncoded: true,
|
opusEncoded: true,
|
||||||
encoderArgs: queue.playing.raw.live ? [] : encoderArgs,
|
encoderArgs: queue.playing.raw.live ? [] : encoderArgs,
|
||||||
seek: seekTime / 1000,
|
seek: seekTime / 1000,
|
||||||
|
|
Loading…
Reference in a new issue