fix: Update to latest Librespot to fix playback

* fix: adapt to librespot SpotifyUri API changes

Fixes compatibility with librespot PR #1622 which changed the API
from SpotifyId::from_uri() to SpotifyUri::from_uri().

Changes:
- Updated src/spotify_worker.rs to use SpotifyUri instead of SpotifyId
- Updated Cargo.toml to use librespot from official repository
  (merge commit a9122dcb from PR #1622)
- Regenerated Cargo.lock with updated dependencies

Fixes #1732
Depends on librespot-org/librespot#1622 (merged)

* Switch to 0.8.0 release

* Update CHANGELOG

* `cargo fmt`

---------

Co-authored-by: Guilherme Fontes <48162143+gui-baeta@users.noreply.github.com>
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
This commit is contained in:
Guilherme Fontes
2025-11-11 09:46:15 +00:00
committed by GitHub
parent 56520c2d8d
commit 6d703deac3
4 changed files with 593 additions and 609 deletions

View File

@@ -52,10 +52,10 @@ fern = "0.7"
futures = "0.3"
ioctl-rs = {version = "0.2", optional = true}
libc = "0.2.177"
librespot-core = "0.7.1"
librespot-oauth = "0.7.1"
librespot-playback = {version = "0.7.1", default-features = false, features = ["native-tls"]}
librespot-protocol = "0.7.1"
librespot-core = "0.8.0"
librespot-oauth = "0.8.0"
librespot-playback = {version = "0.8.0", default-features = false, features = ["native-tls"]}
librespot-protocol = "0.8.0"
log = "0.4.28"
pancurses = {version = "0.17.0", optional = true}
parse_duration = "2.1.1"