[GH-ISSUE #758] CLI "connect" command unable to use name parameter #449

Closed
opened 2026-03-02 23:47:35 +03:00 by kerem · 0 comments
Owner

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 connect command 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
Image

Environment

  • OS: Ubuntu 24.04.2 LTS
  • Application version: v0.20.6
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 `connect` command 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** ![Image](https://github.com/user-attachments/assets/0e9f4c12-a149-4160-91c4-f68d44865c92) **Environment** - OS: Ubuntu 24.04.2 LTS - Application version: v0.20.6
kerem 2026-03-02 23:47:35 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#449
No description provided.