summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
Diffstat (limited to 'player')
-rw-r--r--player/lua/ytdl_hook.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua
index 89f5c03600..0e7ab4a152 100644
--- a/player/lua/ytdl_hook.lua
+++ b/player/lua/ytdl_hook.lua
@@ -282,7 +282,7 @@ mp.add_hook("on_load", 10, function ()
-- audio url
mp.commandv("audio-add", json["requested_formats"][2].url,
- "select", json["requested_formats"][2]["format_note"] or "")
+ "auto", json["requested_formats"][2]["format_note"] or "")
elseif not (json.url == nil) then
-- normal video