diff --git a/src/Player.ts b/src/Player.ts index 2e3bbfc..85b4c71 100644 --- a/src/Player.ts +++ b/src/Player.ts @@ -224,7 +224,7 @@ class Player extends EventEmitter { const qt = options.searchEngine === QueryType.AUTO ? QueryResolver.resolve(query) : options.searchEngine; switch (qt) { case QueryType.YOUTUBE_VIDEO: { - const info = await ytdlGetInfo(query).catch(Util.noop); + const info = await ytdlGetInfo(query, this.options.ytdlOptions).catch(Util.noop); if (!info) return { playlist: null, tracks: [] }; const track = new Track(this, {