ytdl: add --no-warnings

Silences "[ytdl_hook] WARNING: video doesn't have subtitles", which was
an annoying and pointless message printed with almost all youtube
videos.

(cherry picked from commit 7cff2e4131)
This commit is contained in:
wm4
2015-02-25 11:01:05 +09:00
committed by Diogo Franco (Kovensky)
parent edf0b93703
commit a5458a624d
+1 -1
View File
@@ -85,7 +85,7 @@ mp.add_hook("on_load", 10, function ()
local subformat = "ass/srt/best"
local command = {
ytdl.path, "-J", "--flat-playlist", "--all-subs",
ytdl.path, "--no-warnings", "-J", "--flat-playlist", "--all-subs",
"--sub-format", subformat, "--no-playlist"
}
if (format ~= "") then