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 --- DOCS/man/options.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'DOCS/man/options.rst') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index c647f38228..2327817976 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -454,6 +454,18 @@ Program Behavior ``bestvideo+bestaudio``. (Default: ``best``) +``--ytdl-raw-options==[,=[,...]]`` + Pass arbitraty options to youtube-dl. Parameter and argument should be + passed as a key-value pair. Options without argument must include ``=``. + + There is no sanity checking so it's possible to break things (i.e. + passing invalid parameters to youtube-dl). + + .. admonition:: Example + + ``--ytdl-raw-options=username=user,password=pass`` + ``--ytdl-raw-options=force-ipv6=`` + Video ----- -- cgit v1.2.3