Hacker News new | ask | show | jobs
by gourlaysama 1651 days ago
Yes, it works the same.

Since mpv 0.34 it even looks for yt-dlp first, and fallback to youtube-dl otherwise. Before that you had to set an option, or just symlink youtube-dl to yt-dlp.

3 comments

> Before that you had to set an option

What option?

--script-opts=ytdl_path=/path/to/yt-dlp

Symlinking either into ~/.config/mpv/ (or wherever your mpv config is) should also work.

great. One `pipx` shuffle and `mpv-build` later, and we’re off to the races.
mpv packages in linux distros seem to be pulling in yt-dlp now too; at least on OpenSUSE Tumbleweed, the mpv package recommends yt-dlp and not youtube-dl.

On one hand I'm sad to see youtube-dl's demise. But its prompt replacement gives me hope for the strength of the community to overcome whatever challenges the IP industry might present.