From 633147c9596177d42d9651aaf101a426d754cb7c Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Sun, 22 Feb 2015 17:32:42 -0300 Subject: ytdl: add "--ytdl-params" option This option allows the user to pass non-supported options directly to youtube-dl, such as "--proxy URL", "--username USERNAME" and '--password PASSWORD". There is no sanity checking so it's possible to break things (i.e. if you pass "--version" mpv exits with random JSON error). Signed-off-by: wm4 --- options/options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'options/options.h') diff --git a/options/options.h b/options/options.h index 52bf0fa221..15ff9cb8ca 100644 --- a/options/options.h +++ b/options/options.h @@ -68,6 +68,7 @@ typedef struct MPOpts { int lua_load_osc; int lua_load_ytdl; char *lua_ytdl_format; + char **lua_ytdl_raw_options; int auto_load_scripts; -- cgit v1.2.3