You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And for proper integration, those characters are probably the video's ID? So we could check whether the "filename" starts with "ytdl://", then replace it with "https://www.youtube.com/watch?v=", call youtube-dl --get-url on it (with a low-quality option, maybe), then plunge the result into nordlicht. :-D
This could work. YouTube URLs from playlists look like ytdl://<video-id>, but Vimeo URLs from playlists look like ytdl://https://vimeo.com/channels/bestoftheyear/169599296, and for dailymotion it's ytdl://http://www.dailymotion.com/video/x5c3xm5. When playing only a single video, the URL from the command line is the same (and I just found out that mpv can even play these ytdl:// URLs if you specify them on the command line!)
It's a bit unfortunate that the video is effectively downloaded twice, once for nordlicht and once for watching in mpv. But I cannot think of a good solution, and loading the nordlicht video in a lower quality seems like a good tradeoff.
Then we have to consider livestreams, which also have a YouTube video ID, but cannot be downloaded (for obvious reasons), or at least only after the livestream has finshed…
When playing YouTube URLs with mpv, I only get
Is there maybe some way to get the original stream URL from mpv?
The text was updated successfully, but these errors were encountered: