ytdl:// URLs

By chimo on (updated on )

Today I learned about how you can pass a “yt-dlp” URL (with format “ytdl://<video-id>”) to “mpv” and it’ll play the relevant YouTube video.

For example:

chimo@xps:~$ mpv ytdl://dQw4w9WgXcQ

Neat.