Open raoulh opened 9 years ago
I've actually given this some thought already, so thanks for reporting it! Another cute thing would be the ability to add ID3 tags for track metadata, which is not exactly trivial to implement in a portable way with pure wave files.
Is it possible to get Vorbis directly from Spotify without re-encoding? Spotify uses Vorbis internally: https://support.spotify.com/is/learn-more/faq/#!/article/What-bitrate-does-Spotify-use-for-streaming
Unfortunately not, libspotify only makes the raw PCM data available. Reencoding to Vorbis should be fairly straightforward, though. The library support for doing so seems fairly pleasant. I'm not blown away by LAME, so far, which is why this feature hasn't moved beyond POC.
... Maybe Vorbis would be a better choice. Den 31 jan 2016 18:21 skrev "Joel Lehtonen" notifications@github.com:
Is it possible to get Vorbis directly from Spotify without re-encoding? Spotify uses Vorbis internally: https://support.spotify.com/is/learn-more/faq/#!/article/What-bitrate-does-Spotify-use-for-streaming
— Reply to this email directly or view it on GitHub https://github.com/catharsis/spotifile/issues/18#issuecomment-177555479.
For now to play a track there is a track.wav virtual file we can open. A nice feature would be to have .mp3/ogg/whatever files next to the .wav, that can encode on the fly. That would be nice for streaming over the network.