fmt
This commit is contained in:
parent
bfed268e7a
commit
54e22e6e77
1 changed files with 1 additions and 0 deletions
|
@ -1059,6 +1059,7 @@ 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,
|
||||
|
|
Loading…
Reference in a new issue