From cc4ada655aae06218b900bb434e3521566394cde Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Fri, 17 Sep 2021 09:37:09 +0200 Subject: ytdl_hook.lua: search for yt-dlp by default Because youtube-dl is inactive and the yt-dlp fork is becoming more popular, make mpv use yt-dlp without any extra configuration. yt-dlp is ordered before youtube-dl because it's more obscure, so users who have yt-dlp installed are more likely to want to use it rather than youtube-dl. Fixes #9208. --- DOCS/man/options.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index c216f88ede..34d29db083 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -995,9 +995,11 @@ Program Behavior no). It's disabled ("no") by default for performance reasons. ``ytdl_path=youtube-dl`` - Configure path to youtube-dl executable or a compatible fork's. - The default "youtube-dl" looks for the executable in PATH. In a Windows - environment the suffix extension ".exe" is always appended. + Configure paths to youtube-dl's executable or a compatible fork's. The + paths should be separated by : on Unix and ; on Windows. mpv looks in + order for the configured paths in PATH and in mpv's config directory. + The defaults are "yt-dlp", "yt-dlp_x86" and "youtube-dl". On Windows + the suffix extension ".exe" is always appended. .. admonition:: Why do the option names mix ``_`` and ``-``? -- cgit v1.2.3