1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-27 18:13:15 +00:00
mpv/DOCS/interface-changes
Guido Cella 6ed3781a3d ytdl_hook.lua: add include script-opt of URLs to try with ytdl first
By the default mpv tries opening URLs with ffmpeg first, and users who
don't configure try_ytdl_first get a slower startup for youtube URLs, on
top of yt-dlp already being slow.

Fix this by adding a script-opt of URL pattern to try with ytdl first.
Youtube and twitch are included by default.

Compared to the alternative of trying ytdl first by default and
excluding URLs with a media extension, this only works for the sites
explicitly included in the new option's value, but doesn't have false
positives on media URLs without an extension.
2024-10-09 01:08:31 +02:00
..
display-page-toggle.txt stats.lua: allow keybindings to toggle the display of a specific page 2024-10-04 21:13:29 +03:00
example.txt
geometry-behavior.txt win_state: move window centering to vo_calc_window_geometry 2024-10-05 18:40:11 +00:00
nvidia-true-hdr.txt vf_d3d11vpp: add NVIDIA RTX Video HDR support 2024-09-30 02:51:21 +02:00
video-frame-info-timecode.txt command: add video-frame-info/{gop,smpte,estimated-smpte}-timecode 2024-09-24 19:47:42 +02:00
ytdl_hook-include.txt ytdl_hook.lua: add include script-opt of URLs to try with ytdl first 2024-10-09 01:08:31 +02:00