From 87d3af6f1960f875aa4dc7ad4ffa2ce329562c07 Mon Sep 17 00:00:00 2001 From: Ricardo Constantino Date: Sun, 7 Jan 2018 15:56:55 +0000 Subject: 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. --- DOCS/man/options.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'DOCS/man') 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. -- cgit v1.2.3