mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #794] [MERGED] fix spotify_player connect --name [...] and ... get key devices #1819
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#1819
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/794
Author: @KUHLwasStolen
Created: 8/4/2025
Status: ✅ Merged
Merged: 8/31/2025
Merged by: @aome510
Base:
master← Head:devices-cli-fix📝 Commits (2)
8aba5d4exchangedevice()foravailable_devices()to fix device related CLI2d26450Merge branch 'aome510:master' into devices-cli-fix📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
spotify_player/src/cli/client.rs(+2 -2)📄 Description
As pointed out in #758 the
connectcommand fails when used with--nameThis happens because the
client.device()method is used to determine the ID of the device and this method always returns[ ].This pull request exchanges this method for
available_devices(), which restores the expected behavior.I also did this for
... get key deviceswhich used the same method and therefore returned only[ ].closes #758
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.