News for hackers. Stuff that matters.

Ask HN: Given a Spotify playlist, I would like to get all the tracks as MP3s

Some backstory, I got tired of streaming services, particularly Apple Music constantly slapping DRM on top of my own music (ones I have uploaded to iCloud from CDs). So, I was thinking of writing some script that would perhaps get a playlist, be it Spotify or Apple and then get the Mp3 version of that song by whatever means. This is to literally just store an offline version of my music collection and listen to it from there. Any solutions you use already before I go down the rabbit hole of writing my own?

TIA

( 7 comments | on HN )
Re:Ask HN: Given a Spotify playlist, I would like to get all... by voidUpdate on Monday June 24, 2024 @10:58AM (#40776840)
Search it on youtube then use yt-dlp to pull down the mp3?
Re:Ask HN: Given a Spotify playlist, I would like to get all... by neya on Monday June 24, 2024 @02:38PM (#40779310)
This was the route I was going to take, but YouTube to Mp3 conversion affects the sound quality, sadly :(
Re:Ask HN: Given a Spotify playlist, I would like to get all... by voidUpdate on Tuesday June 25, 2024 @04:11AM (#40785817)
Really? I've never noticed a perceivable difference between all my downloaded music and the youtube versions. Do you have ffmpeg installed? Apparently yt-dlp will download in a lower quality if you don't
Re:Ask HN: Given a Spotify playlist, I would like to get all... by neya on Tuesday June 25, 2024 @02:42PM (#40791988)
Ok, that makes sense. I will try this route. Thank you!
Re:Ask HN: Given a Spotify playlist, I would like to get all... by reify on Monday June 24, 2024 @01:01PM (#40778394)
Rip your CD's then convert them to mp3's with ffmpeg.
Re:Ask HN: Given a Spotify playlist, I would like to get all... by neya on Monday June 24, 2024 @02:39PM (#40779316)
I don't have those CDs anymore. That's the problem, besides, I would like to know what's the solution for the tracks on Spotify, though
Re:Ask HN: Given a Spotify playlist, I would like to get all... by anonymzz on Wednesday June 26, 2024 @03:23PM (#40803556)