Skip to content

Conversation

@kesor
Copy link

@kesor kesor commented Nov 11, 2025

Upgrade librespot to v0.8

  • Replace SpotifyItemType import with SpotifyUri (removed in 0.8)
  • Update OpenUri to use SpotifyUri::from_uri() then convert to SpotifyId
  • Add Local variant to UniqueFields match (new in 0.8)
  • Replace deprecated to_base62() with to_id() for SpotifyUri objects

fixes #1373

- Replace SpotifyItemType import with SpotifyUri (removed in 0.8)
- Update OpenUri to use SpotifyUri::from_uri() then convert to SpotifyId
- Add Local variant to UniqueFields match (new in 0.8)
- Replace deprecated to_base62() with to_id() for SpotifyUri objects
- Replace id.item_type with SpotifyUri pattern matching
- Use SpotifyUri directly in Track::get() call
- Match on SpotifyUri variants instead of SpotifyItemType enum
- Clone track_id since SpotifyUri doesn't implement Copy trait
@ThinkRedstone
Copy link

I can testify that this works, thank!

@Troon
Copy link

Troon commented Nov 13, 2025

I built this from source on my ancient Banana Pi M1* and it works perfectly, resolving the recent "won't play any more" issue. Thanks for the work!

* couldn't get cross-compilation working; had to create an NBD swap file from laptop RAM to get native compilation to complete after about 7 hours.

@eladyn
Copy link
Member

eladyn commented Nov 19, 2025

Thank you for your help, it is appreciated! Since I had a slightly different version already sitting at #1374, I modified and merged this instead, hope that is okay!

@eladyn eladyn closed this Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fail to play tracks (again)

4 participants