access: add yt-dlp module
This ports the yt-dlp feature from MPV, allowing users to play video links from their supported websites.
- Uses
yt-dlppiping to automatically merge best formats.- This is the easiest way, because streams come in different formats (some audio and video separate, some audio only, other video only), and making
yt-dlphandle it is best.
- This is the easiest way, because streams come in different formats (some audio and video separate, some audio only, other video only), and making
- Uses an access module with a custom prefix
yt-dlp://to not interfere with theHTTPandHTTPSaccess modules for links. - Allows users to specify a path for the
yt-dlpexecutable, defaulting the one in PATH if not set. - Allows users to specify a target format if needed.
Example Usage: ./vlc "yt-dlp://https://www.youtube.com/watch?v=dQw4w9WgXcQ
(Note: You would need the latest yt-dlp binary to test this because YouTube break API often)