Youtube mix = “a playlists YouTube makes for you”.
For example the yt mix address below has “&index=” and the corresponding song number of the mix at the end of each url in the mix.
Can yt-dlp recognize this, and is there a way to tell it to dl the whole playlist in one command? You actually have to go to youtube to see the playlist…
Just put in the URL of the playlist (plus whatever additional options for video and or audio quality etc that you normally use).
It only downloads the first video, then halts. No prompt. It just stops.
If you don’t mind, post the whole command line.
It works on my end:
$ yt-dlp https://music.youtube.com/playlist?list=RDCLAK5uy_mVQsicmiGWIirrcMMQO4g7QL3BQKuKCSM
[youtube:tab] Extracting URL: https://music.youtube.com/playlist?list=RDCLAK5uy_mVQsicmiGWIirrcMMQO4g7QL3BQKuKCSM
WARNING: [youtube:tab] YouTube Music is not directly supported. Redirecting to https://www.youtube.com/playlist?list=RDCLAK5uy_mVQsicmiGWIirrcMMQO4g7QL3BQKuKCSM
[youtube:tab] RDCLAK5uy_mVQsicmiGWIirrcMMQO4g7QL3BQKuKCSM: Downloading webpage
[youtube:tab] RDCLAK5uy_mVQsicmiGWIirrcMMQO4g7QL3BQKuKCSM: Redownloading playlist API JSON with unavailable videos
[download] Downloading playlist: The Hits: 00s
[youtube:tab] RDCLAK5uy_mVQsicmiGWIirrcMMQO4g7QL3BQKuKCSM page 1: Downloading API JSON
[youtube:tab] Playlist The Hits: 00s: Downloading 99 items of 99
[download] Downloading item 1 of 99
[youtube] Extracting URL: https://music.youtube.com/watch?v=CvBfHwUxHIk
[youtube] CvBfHwUxHIk: Downloading webpage
[youtube] CvBfHwUxHIk: Downloading tv client config
[youtube] CvBfHwUxHIk: Downloading player d71837c8-main
[youtube] CvBfHwUxHIk: Downloading tv player API JSON
[youtube] CvBfHwUxHIk: Downloading ios player API JSON
[youtube] CvBfHwUxHIk: Downloading m3u8 information
[info] CvBfHwUxHIk: Downloading 1 format(s): 399+251
[download] Destination: Rihanna - Umbrella (Orange Version) (Official Music Video) ft. JAY-Z [CvBfHwUxHIk].f399.mp4
[download] 100% of 51.76MiB in 00:00:05 at 8.93MiB/s
[download] Destination: Rihanna - Umbrella (Orange Version) (Official Music Video) ft. JAY-Z [CvBfHwUxHIk].f251.webm
[download] 100% of 3.85MiB in 00:00:00 at 9.43MiB/s
[Merger] Merging formats into "Rihanna - Umbrella (Orange Version) (Official Music Video) ft. JAY-Z [CvBfHwUxHIk].webm"
Deleting original file Rihanna - Umbrella (Orange Version) (Official Music Video) ft. JAY-Z [CvBfHwUxHIk].f399.mp4 (pass -k to keep)
Deleting original file Rihanna - Umbrella (Orange Version) (Official Music Video) ft. JAY-Z [CvBfHwUxHIk].f251.webm (pass -k to keep)
[download] Downloading item 2 of 99
[youtube] Extracting URL: https://music.youtube.com/watch?v=GxBSyx85Kp8
[youtube] GxBSyx85Kp8: Downloading webpage
[youtube] GxBSyx85Kp8: Downloading tv client config
[youtube] GxBSyx85Kp8: Downloading tv player API JSON
[youtube] GxBSyx85Kp8: Downloading ios player API JSON
[youtube] GxBSyx85Kp8: Downloading m3u8 information
[info] GxBSyx85Kp8: Downloading 1 format(s): 616+251
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 50
[download] Destination: Usher - Yeah! (Official Video) ft. Lil Jon, Ludacris [GxBSyx85Kp8].f616.mp4
[download] 100% of 117.10MiB in 00:00:20 at 5.69MiB/s
[download] Destination: Usher - Yeah! (Official Video) ft. Lil Jon, Ludacris [GxBSyx85Kp8].f251.webm
[download] 100% of 3.91MiB in 00:00:00 at 5.24MiB/s
[Merger] Merging formats into "Usher - Yeah! (Official Video) ft. Lil Jon, Ludacris [GxBSyx85Kp8].webm"
Deleting original file Usher - Yeah! (Official Video) ft. Lil Jon, Ludacris [GxBSyx85Kp8].f616.mp4 (pass -k to keep)
Deleting original file Usher - Yeah! (Official Video) ft. Lil Jon, Ludacris [GxBSyx85Kp8].f251.webm (pass -k to keep)
[download] Downloading item 3 of 99
[youtube] Extracting URL: https://music.youtube.com/watch?v=hAx6mYeC6pY
[youtube] hAx6mYeC6pY: Downloading webpage
[youtube] hAx6mYeC6pY: Downloading tv client config
[youtube] hAx6mYeC6pY: Downloading tv player API JSON
[youtube] hAx6mYeC6pY: Downloading ios player API JSON
[youtube] hAx6mYeC6pY: Downloading m3u8 information
[info] hAx6mYeC6pY: Downloading 1 format(s): 401+251
[download] Destination: Sophie Ellis-Bextor - Murder On The Dancefloor [hAx6mYeC6pY].f401.mp4
[download] 10.3% of 226.23MiB at 10.53MiB/s ETA 00:19^C
ERROR: Interrupted by user
I interrupted it obviously so the error at the end is not a “proper” error.
I do not understand that. Your url is different. The url I am trying does not have the word playlist in it. And I do not know what youtube music means in your command. Is that something you are adding yourself?
No. I just used a play list from Youtube Music but that is not relevant. It works for me downloading videos from Youtube as well.
For example, the following works for downloading all the videos in the playlist:
yt-dlp https://youtube.com/playlist?list=PLG3eOzJfQr2e2OD4W0GmcSpO5oZ-c5FIu
Maybe you are using the wrong URL. Can we see it if it is not “classified”?
https://www.youtube.com/watch?v=LiCjD5qVV_U&list=RDLiCjD5qVV_U&t=138s
This the url I am using. Are you saying maybe that is the wrong url? Maybe you can tell me the right url then.
That is definely not the URL to a play list you have posted.
It’s a URL to a single video played from the second=138
Yes! That is,i f you had a playlist in mind.
No. I cannot for the very simple reason: I don’t know what you are looking at, what playlist …
I never said it was a playlist url. I said you have to go to youtube to see the playlist. How is it you can get playlist urls?
Do you or don’t you want to download all the videos from a Yotube playlist?
Maybe I have misunderstood your intention.
I have to leave the forum for now. Hopefully someone else will come along and lend you a hand.
Glad you are leaving to tell you the truth as you was no help, and a bit dis respectful.
Glad to be leaving YOU.
To tell you the truth, you come across as very entitled and are truly ungrateful.
PS. Adding @sempterobit to my Ignore list from now and on!
Chalk it up to breakdown in communication, @cactux donates a considerable amount of time to helping others including strangers. Bear in mind that you shared a link to a single video, not a playlist, but I located the list using the name in your screenshot.
To get the YouTube playlist reference just right-click any entry in the list & copy the link (see below):
Let’s look at the link from the first entry in that playlist array:
https://www.youtube.com/watch?v=LiCjD5qVV_U&list=RDLiCjD5qVV_U&index=1
It contains:
https://www.youtube.com
← protocol & domain/watch?v=LiCjD5qVV_U
← query for specific video&list=RDLiCjD5qVV_U
← reference to a playlist&index=1
← index position in the list- [opt]
&pp=xxxx
← additional possibility of reference to an app
Use elements 1, 2, & 3 in your yt-dlp command:
yt-dlp https://www.youtube.com/watch?v=LiCjD5qVV_U&list=RDLiCjD5qVV_U
[YoutubeYtBe] Extracting URL: https://www.youtube.com/watch?v=LiCjD5qVV_U&list=RDLiCjD5qVV_U
[youtube:tab] Extracting URL: https://www.youtube.com/watch?v=LiCjD5qVV_U&list=RDLiCjD5qVV_U
[youtube:tab] Downloading playlist RDLiCjD5qVV_U - add --no-playlist to download just the video LiCjD5qVV_U
[youtube:tab] RDLiCjD5qVV_U: Downloading webpage
[download] Downloading playlist: Mix - I Ain't Mad At Cha
[youtube:tab] RDLiCjD5qVV_U page 1: Downloading API JSON
...truncated for brevity...
[youtube:tab] RDLiCjD5qVV_U page 25: Downloading API JSON
[youtube:tab] Playlist Mix - I Ain't Mad At Cha: Downloading 1371 items of 1371
[download] Downloading item 1 of 1371
[youtube] Extracting URL: https://www.youtube.com/watch?v=LiCjD5qVV_U
[youtube] LiCjD5qVV_U: Downloading webpage
[youtube] LiCjD5qVV_U: Downloading tv client config
[youtube] LiCjD5qVV_U: Downloading player ab11fe69-main
[youtube] LiCjD5qVV_U: Downloading tv player API JSON
[youtube] LiCjD5qVV_U: Downloading ios player API JSON
[youtube] LiCjD5qVV_U: Downloading m3u8 information
[info] LiCjD5qVV_U: Downloading 1 format(s): 616+251
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 58
[download] Destination: I Ain't Mad At Cha [LiCjD5qVV_U].f616.mp4
[download] 100% of 21.00MiB in 00:00:09 at 2.27MiB/s
[download] Destination: I Ain't Mad At Cha [LiCjD5qVV_U].f251.webm
[download] 100% of 4.58MiB in 00:00:00 at 5.73MiB/s
[Merger] Merging formats into "I Ain't Mad At Cha [LiCjD5qVV_U].webm"
Deleting original file I Ain't Mad At Cha [LiCjD5qVV_U].f616.mp4 (pass -k to keep)
Deleting original file I Ain't Mad At Cha [LiCjD5qVV_U].f251.webm (pass -k to keep)
[download] Downloading item 2 of 1371
[youtube] Extracting URL: https://www.youtube.com/watch?v=fAJfDP3b5_U
[youtube] fAJfDP3b5_U: Downloading webpage
[youtube] fAJfDP3b5_U: Downloading tv client config
[youtube] fAJfDP3b5_U: Downloading tv player API JSON
[youtube] fAJfDP3b5_U: Downloading ios player API JSON
[youtube] fAJfDP3b5_U: Downloading m3u8 information
[info] fAJfDP3b5_U: Downloading 1 format(s): 616+251
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 38
[download] Destination: Keep Ya Head Up [fAJfDP3b5_U].f616.mp4
[download] 100% of 11.36MiB in 00:00:06 at 1.73MiB/s
[download] Destination: Keep Ya Head Up [fAJfDP3b5_U].f251.webm
[download] 100% of 3.30MiB in 00:00:00 at 5.93MiB/s
[Merger] Merging formats into "Keep Ya Head Up [fAJfDP3b5_U].webm"
Deleting original file Keep Ya Head Up [fAJfDP3b5_U].f616.mp4 (pass -k to keep)
Deleting original file Keep Ya Head Up [fAJfDP3b5_U].f251.webm (pass -k to keep)
[download] Downloading item 3 of 1371
[youtube] Extracting URL: https://www.youtube.com/watch?v=zgZ52M4a_R0
^C
ERROR: Interrupted by user
Don’t forget to mark this as the solution if it worked for you, it took me about 20 mins to test, capture screen shots & bash output, then write.
& please be kind to cactux
Yes. I agree. Also a break down in understanding. It s interesting you was able to understand my question, and your answer was reasonably stated.
I do not have that reference in my result of that same command.
The result I get:
[g@g-xps8940 ~]$ yt-dlp https://www.youtube.com/watch?v=LiCjD5qVV_U&list=RDLiCjD5qVV_U
[1] 62649
[g@g-xps8940 ~]$ [youtube] Extracting URL: https://www.youtube.com/watch?v=LiCjD5qVV_U
[youtube] LiCjD5qVV_U: Downloading webpage
[youtube] LiCjD5qVV_U: Downloading tv client config
[youtube] LiCjD5qVV_U: Downloading tv player API JSON
[youtube] LiCjD5qVV_U: Downloading ios player API JSON
[youtube] LiCjD5qVV_U: Downloading m3u8 information
[info] LiCjD5qVV_U: Downloading 1 format(s): 616+251
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 58
[download] Destination: I Ain’t Mad At Cha [LiCjD5qVV_U].f616.mp4
[download] 100% of 21.00MiB in 00:00:04 at 4.36MiB/s
[download] Destination: I Ain’t Mad At Cha [LiCjD5qVV_U].f251.webm
[download] 100% of 4.58MiB in 00:00:00 at 19.17MiB/s
[Merger] Merging formats into “I Ain’t Mad At Cha [LiCjD5qVV_U].webm”
Deleting original file I Ain’t Mad At Cha [LiCjD5qVV_U].f251.webm (pass -k to keep)
Deleting original file I Ain’t Mad At Cha [LiCjD5qVV_U].f616.mp4 (pass -k to keep)
After downloading the first song it stops with a blinking cusur but does not complete the command.
Cactux understood your question and answered it clearly in the first response:
Considering the differences in output from the same command. I can not say your solution is the solution. It is not an update, issue as I have the latest version, and updated yesterday.
[g@g-xps8940 ~]$ yt-dlp -U
Latest version: stable@2025.04.30 from yt-dlp/yt-dlp
Maybe you use some type of add on, or another ap perhaps? I am using strictly yt-dlp.
Uh, he ignored me. So how does it work? Am I supposed to say nice things about him so others can see, and determine that I am being nice?
Testing the playlist provided in the thread:
Does indeed not download the the videos after the first one, as you noticed.
Testing my own playlist:
Does download each of the videos in my playlist. I am using the latest yt-dlp dated 2025-04-30. I apologize for assuming that all playlists would down load with yt-dlp properly. I am not sure how others got the music video playlist to download. Please accept my apologies.