Skip to content

CLI "connect" command unable to use name parameter #758

@OakTreeWC

Description

@OakTreeWC

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions