Hacker News new | ask | show | jobs
by yorhel 4220 days ago
Note that quvi support has been removed on mpv git recently. They seem to be considering a switch to youtube-dl instead. https://github.com/mpv-player/mpv/commit/9b45b48c466765b6491...
1 comments

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