mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #758] CLI "connect" command unable to use name parameter #449
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#449
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?
Originally created by @OakTreeWC on GitHub (Jun 25, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/758
Describe the bug
Upon attempting to use the
connectcommand with the --name parameter on the command line, (i.e../spotify_player connect --name spotify-player), 'Bad request: No device with name=spotify-player found' is shown.Using --id parameter on the command line (i.e.
./spotify_player connect --id ...) works however.To Reproduce
Follow instructions above.
Expected behaviour
Device change.
Log and backtrace
2025-06-25T08:06:29.716547Z ERROR socket_request{request=Connect(Name("OLDDESK")) dest_addr=127.0.0.1:52231}: spotify_player::cli::client: Failed to handle socket request: No device with name=OLDDESK found 2025-06-25T08:06:29.716639Z INFO socket_request{request=Connect(Name("OLDDESK")) dest_addr=127.0.0.1:52231}: spotify_player::cli::client: Successfully handled the socket request.Screenshots

Environment