summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorRicardo Constantino <wiiaboo@gmail.com>2018-01-07 15:56:55 +0000
committerRicardo Constantino <wiiaboo@gmail.com>2018-01-07 15:56:55 +0000
commit87d3af6f1960f875aa4dc7ad4ffa2ce329562c07 (patch)
tree9bce82b52b71192de2635ae1a4bbebe546f1bca8 /DOCS/man
parent5103b5dc2cfeb6bc980139444e0fd0110f8d4111 (diff)
downloadmpv-87d3af6f1960f875aa4dc7ad4ffa2ce329562c07.tar.bz2
mpv-87d3af6f1960f875aa4dc7ad4ffa2ce329562c07.tar.xz
ytdl_hook: add script option to revert to trying youtube-dl first
Should only make a difference if most of the URLs you open need youtube-dl parsing.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/options.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index cc65ea98c3..cfe41fbf67 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -552,6 +552,11 @@ Program Behavior
If the script can't do anything with an URL, it will do nothing.
+ The `try_ytdl_first` script option accepts a boolean 'yes' or 'no', and if
+ 'yes' will try parsing the URL with youtube-dl first, instead of the default
+ where it's only after mpv failed to open it. This mostly depends on whether
+ most of your URLs need youtube-dl parsing.
+
The `exclude` script option accepts a ``|``-separated list of URL patterns
which mpv should not use with youtube-dl. The patterns are matched after
the ``http(s)://`` part of the URL.