While spotify-dl re-encodes files to lossless, the actual source of the Spotify audio (from librespot) is not lossless, even since Spotify added lossless audio in Sep. 2025. The librespot project has publicly stated (at least for now) they will not support lossless: librespot-org/librespot#1583
I think this should be pointed out in the README.md or documentation, as I had to dig into the rust code to figure this out. Issue 53 here (#53) asked about this, but was summarily dismissed and the question not actually answered.
So yes, this project will support re-encoding whatever it gets from librespot, but the source is not lossless. Encoding to FLAC just prevents MORE lossy compression from being added, at the expense of larger file sizes. Can this be documented somewhere?
While spotify-dl re-encodes files to lossless, the actual source of the Spotify audio (from librespot) is not lossless, even since Spotify added lossless audio in Sep. 2025. The librespot project has publicly stated (at least for now) they will not support lossless: librespot-org/librespot#1583
I think this should be pointed out in the README.md or documentation, as I had to dig into the rust code to figure this out. Issue 53 here (#53) asked about this, but was summarily dismissed and the question not actually answered.
So yes, this project will support re-encoding whatever it gets from librespot, but the source is not lossless. Encoding to FLAC just prevents MORE lossy compression from being added, at the expense of larger file sizes. Can this be documented somewhere?