Hacker News new | ask | show | jobs
by shmerl 4223 days ago
That's interesting. How are they planning to use youtube-dl? Does it have a C library or mpv allows some plugins in other languages?
1 comments

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.
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.