This version takes another step into the direction of the HTTP API, fixes a couple of bugs, and makes it easier for developers to mock a certain platform. Also it adds the option to choose avahi, dnssd or libmdns as your zeroconf backend for Spotify Connect discovery.
Changed
- [core] The
access_token
for http requests is now acquired bylogin5
- [core] MSRV is now 1.75 (breaking)
- [discovery] librespot can now be compiled with multiple MDNS/DNS-SD backends (avahi, dns_sd, libmdns) which can be selected using a CLI flag. The defaults are unchanged (breaking).
Added
- [core] Add
get_token_with_client_id()
to get a token for a specific client ID - [core] Add
login
(mobile) andauth_token
retrieval via login5 - [core] Add
OS
andos_version
toconfig.rs
- [discovery] Added a new MDNS/DNS-SD backend which connects to Avahi via D-Bus.
Fixed
- [connect] Fixes initial volume showing zero despite playing in full volume instead
- [core] Fix "source slice length (16) does not match destination slice length (20)" panic on some tracks