summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiago.mast3r@gmail.com>2015-02-22 17:32:42 -0300
committerwm4 <wm4@nowhere>2015-02-25 22:32:48 +0100
commit633147c9596177d42d9651aaf101a426d754cb7c (patch)
tree6fe2f5f9b362e667a148df5867c3b12e2986866d /options/options.h
parente85bcc12233ee08b7609382372dd80482fd016f2 (diff)
downloadmpv-633147c9596177d42d9651aaf101a426d754cb7c.tar.bz2
mpv-633147c9596177d42d9651aaf101a426d754cb7c.tar.xz
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 <wm4@nowhere>
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 1 insertions, 0 deletions
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;