If it weren't for all the legal agreements with copyright holders, I feel like spotify would already have an open playback API.
If it weren't for all the legal agreements with copyright holders, I feel like spotify would already have an open playback API.
But if you could get the original file from Spotify's servers and decrypt it yourself, you could automate downloading your entire library, offline forever at source quality DRM free. Unfortunately, that is illegal and Spotify is going to dick them with lawyers. Pretty sure that's what happened to this project: https://news.ycombinator.com/item?id=25017167
History: after the developer decided to pivot from only being a tool to scrape the encryption keys needed to decrypt an individual song, the developer decided it would be a good idea to build in automating the downloading and also decryption of those files, instead of letting people develop that as a separate tool.
Developer and project has disappeared shortly after that decision.
Spotify does at most MP3 320kbps, source quality would imply something like lossless FLAC/AAC