mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #618] [MERGED] fix Spotify Connect feature support after new API changes #815
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#815
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/aome510/spotify-player/pull/618
Author: @aome510
Created: 11/30/2024
Status: ✅ Merged
Merged: 11/30/2024
Merged by: @aome510
Base:
master← Head:spotify-connect-client📝 Commits (2)
929fbc3handle invalid playback with better UI message4549164handle "get available devices" API using user provided client_id📊 Changes
4 files changed (+78 additions, -40 deletions)
View changed files
📝
spotify_player/src/client/mod.rs(+40 -14)📝
spotify_player/src/client/spotify.rs(+17 -6)📝
spotify_player/src/token.rs(+3 -3)📝
spotify_player/src/ui/playback.rs(+18 -17)📄 Description
Fixes #617
New Spotify API changes break clients using user-provided
client_id. As a result, this PR uses the official Spotify'sclient_id(auth::SPOTIFY_CLIENT_ID) to handle all APIs except user's available devices API which uses user-providedclient_idas before (required for Spotify Connect support)In addition to the above change, this PR also improves the UI message when the current playback is not invalid or unavailable.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
v0.21.0#889v0.21.0#1824