mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
man/options: emphasize ytdl_hook's script options
This commit is contained in:
parent
a4c5a4486e
commit
9c184078a6
@ -540,19 +540,15 @@ Program Behavior
|
|||||||
|
|
||||||
If the script can't do anything with an URL, it will do nothing.
|
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
|
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
|
'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
|
where it's only after mpv failed to open it. This mostly depends on whether
|
||||||
most of your URLs need youtube-dl parsing.
|
most of your URLs need youtube-dl parsing.
|
||||||
|
|
||||||
The `exclude` script option accepts a ``|``-separated list of URL patterns
|
The ``exclude`` script option accepts a ``|``-separated list of URL patterns
|
||||||
which mpv should not use with youtube-dl. The patterns are matched after
|
which mpv should not use with youtube-dl. The patterns are matched after
|
||||||
the ``http(s)://`` part of the URL.
|
the ``http(s)://`` part of the URL.
|
||||||
|
|
||||||
The `use_manifests` script option makes mpv use the master manifest URL for
|
|
||||||
formats like HLS and DASH, if available, allowing for video/audio selection
|
|
||||||
in runtime. It's disabled ("no") by default for performance reasons.
|
|
||||||
|
|
||||||
``^`` matches the beginning of the URL, ``$`` matches its end, and you
|
``^`` matches the beginning of the URL, ``$`` matches its end, and you
|
||||||
should use ``%`` before any of the characters ``^$()%|,.[]*+-?`` to match
|
should use ``%`` before any of the characters ``^$()%|,.[]*+-?`` to match
|
||||||
that character.
|
that character.
|
||||||
@ -567,6 +563,9 @@ Program Behavior
|
|||||||
|
|
||||||
See more lua patterns here: https://www.lua.org/manual/5.1/manual.html#5.4.1
|
See more lua patterns here: https://www.lua.org/manual/5.1/manual.html#5.4.1
|
||||||
|
|
||||||
|
The ``use_manifests`` script option makes mpv use the master manifest URL for
|
||||||
|
formats like HLS and DASH, if available, allowing for video/audio selection
|
||||||
|
in runtime. It's disabled ("no") by default for performance reasons.
|
||||||
|
|
||||||
``--ytdl-format=<best|worst|mp4|webm|...>``
|
``--ytdl-format=<best|worst|mp4|webm|...>``
|
||||||
Video format/quality that is directly passed to youtube-dl. The possible
|
Video format/quality that is directly passed to youtube-dl. The possible
|
||||||
|
Loading…
Reference in New Issue
Block a user