summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2021-09-17 09:37:09 +0200
committerNiklas Haas <github-daiK1o@haasn.dev>2021-09-25 13:57:36 +0200
commitcc4ada655aae06218b900bb434e3521566394cde (patch)
tree70b928a1d2ac6894f4f36a672719a86dcbdec981 /DOCS
parent5bf92b628d0d27675a06f94da827299131ff698b (diff)
downloadmpv-cc4ada655aae06218b900bb434e3521566394cde.tar.bz2
mpv-cc4ada655aae06218b900bb434e3521566394cde.tar.xz
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.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/options.rst8
1 files changed, 5 insertions, 3 deletions
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 ``-``?