Hacker News new | ask | show | jobs
by rossy 4220 days ago
The bit that invokes youtube-dl is a Lua plugin. It checks if the URL starts with http:// or https://, and if so, invokes youtube-dl -J on the command line to dump JSON information about the video.
2 comments

Awesome! Not long ago I switched to mpv from mplayer. mpv being able to use youtube-dl without any glue script would be fantastic.
Ah, I see. Thanks for clarifying.