Closed NoakPalander closed 3 years ago
You can already change the executable mpv calls to yt-dlp
, there's nothing we have to do for this to work.
duplicate of #8665
try --ytdl_path
though I don't know if it will work
It's a script-opt: --script-opts=ytdl_hook-ytdl_path=yt-dlp
Was unaware that it was a duplicate, sorry for that. And also thank you for pointing out the script-opt flag.
youtube-dl maintainers went silent for 3 months and developement is non existent right now. Many users and devs migrated to yt-dlp already, so it would be preferable if mpv at least tried to use yt-dlp in absence of youtube-dl by default without need of modifying scripts by user, as future of youtube-dl it uncertain at this point.
Linux users can install mpv + yt-dlp using GUI package manager (yt-dlp is at least in Arch User Repository) and modifying scripts or installing additional wrapper worsens experience for new/inexperienced users.
Expected behavior of the wanted feature
For it to be able to play age restricted videos by running e.g
mpv https://youtube.com/etc/etc
. Currently doesn't work with youtube-dl that mpv relies on, however there's a fork called yt-dlp on github that solves this.