summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-10-23 17:38:58 +0200
committerwm4 <wm4@nowhere>2016-10-23 17:38:58 +0200
commit61ff2408e395eb723c9adc7e2d13d205f496836e (patch)
tree496dc9400423b50551708406d0bddcecee98e464 /DOCS/man
parentd0b997d5287966245a4f368af64e2b0c72bd3a1a (diff)
downloadmpv-61ff2408e395eb723c9adc7e2d13d205f496836e.tar.bz2
mpv-61ff2408e395eb723c9adc7e2d13d205f496836e.tar.xz
manpage: document ytdl://
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/mpv.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst
index f4876ac00e..4ceae1ca27 100644
--- a/DOCS/man/mpv.rst
+++ b/DOCS/man/mpv.rst
@@ -646,6 +646,15 @@ PROTOCOLS
either aliases to documented protocols, or are just redirections to
protocols implemented and documented in FFmpeg.
+``ytdl://...``
+ By default, the youtube-dl hook script (enabled by default for mpv CLI)
+ only looks at http URLs. Prefixing an URL with ``ytdl://`` forces it to
+ be always processed by the script. This can also be used to invoke special
+ youtube-dl functionality like playing a video by ID or invoking search.
+
+ Keep in mind that you can't pass youtube-dl command line options by this,
+ and you have to use ``--ytdl-raw-options`` instead.
+
``-``
Play data from stdin.