Okay, this is a bit tricky. By default we disable resolving playlists for such URLs, since that's not intended by the user most of the time. If the user actually wants to play the whole playlist, he needs to pass the actual playlist URL (youtube.com/playlist?list=...) to mpv, however the Youtube website doesn't provide these URLs for mixes. You can however still build such a URL yourself which will work with mpv:
http://www.youtube.com/watch?v=lLJf9qJHR3E&list=RDrjFaenf1T-Y
^^^^^^^^^^^^^
Take the playlist ID from the URL, and build a playlist URL with it by putting it here:
http://www.youtube.com/playlist?list=RDrjFaenf1T-Y
^^^^^^^^^^^^^
The YouTube Website will show an error if you try to open that URL in your browser, but youtube-dl (and mpv) can still resolve it as the full playlist.
Maybe we should add an option to disable the --no-playlist flag, then this would work right away.
Thanks Chris, it works just like you say. Is the pattern http://www.youtube.com/watch?v=bla1&list=bla2 used for anything else but mixes? I undestand playists go straight for the playlist? option. If such, watch?+list means it's a mix, right?
No, videos that come from a playlist often also have that URL format to indicate the playlist they come from. You often find such links on the internet or even when you click on a specific video on the Youtube Website. mpv would always load the entire playlist and start playing the first video of the list and not the one that was actually linked if we didn't disable playlist resolving for "mixed" URLs.
I was able to get a playlist URL by coping it from the browser.
mpv was able to play every video in sequence. It would be nice if it could allow go browse the videos with the forward/next arrows :)
@FedericoCeratto do the "<", ">" and "ENTER" keybindings work for you?
Btw I was trying to play the entire channel's videos as a playlist and was thinking about creating issue for this but then I realized it's already available in mpv. Great work, guys!
Thanks @Kagami for hint :+1:
@Kagami Uhhhh it never occurred to me! Nice tip!
Very simple how to watch any youtube (single video or playlists). I just downloaded MPV player and downloaded youtube-dl on the single folder. After that, I created mpv.exe shortcut and added the parameter: --no-border --ontop.
that should result - D:softMPVmpv.exe --no-border --ontop
Finally open that shortcut and appeared MPV player and open any youtube playlist. Then select url bar and drag it and drop into player! done. I am talking about drag and drop any selected urls .
Sorry for my bad english.
By the way: --ytdl-raw-options=yes-playlist= will make these URLs work without changing them. Only downside is that it doesn鈥檛 start at the right playlist entry.
Most helpful comment
Okay, this is a bit tricky. By default we disable resolving playlists for such URLs, since that's not intended by the user most of the time. If the user actually wants to play the whole playlist, he needs to pass the actual playlist URL (
youtube.com/playlist?list=...) to mpv, however the Youtube website doesn't provide these URLs for mixes. You can however still build such a URL yourself which will work with mpv:Take the playlist ID from the URL, and build a playlist URL with it by putting it here:
The YouTube Website will show an error if you try to open that URL in your browser, but youtube-dl (and mpv) can still resolve it as the full playlist.
Maybe we should add an option to disable the
--no-playlistflag, then this would work right away.