[GH-ISSUE #338] Bug: The CLI does not detect a device the TUI is playing from #181

Closed
opened 2026-03-02 23:45:16 +03:00 by kerem · 2 comments
Owner

Originally created by @chrisgrieser on GitHub (Jan 16, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/338

Describe the bug
Kind of a follow-up to #336: I tried connect but get this issue:

> spotify_player connect --name "Wohnzimmer Echo"
Bad request: No device with name=Wohnzimmer Echo found
> spotify_player get key devices
[]

However, in the interactive player, it clearly is playing from that device:
Pasted image 2024-01-16 at 09 42 07@2x

To Reproduce
Not sure how to reproduce this, tbh.

Expected behavior
The CLI should detect the device, just as the TUI is able to.

Log and backtrace

Environment
macOS 14.1 (arm)
spotify_player 0.16.3

Originally created by @chrisgrieser on GitHub (Jan 16, 2024). Original GitHub issue: https://github.com/aome510/spotify-player/issues/338 **Describe the bug** Kind of a follow-up to #336: I tried `connect` but get this issue: ```bash > spotify_player connect --name "Wohnzimmer Echo" Bad request: No device with name=Wohnzimmer Echo found > spotify_player get key devices [] ``` However, in the interactive player, it clearly is playing from that device: ![Pasted image 2024-01-16 at 09 42 07@2x](https://github.com/aome510/spotify-player/assets/73286100/788f538a-bf0d-4385-a072-233e15b649f1) **To Reproduce** Not sure how to reproduce this, tbh. **Expected behavior** The CLI should detect the device, just as the TUI is able to. **Log and backtrace** - [spotify-player-24-01-16-09-42.log](https://github.com/aome510/spotify-player/files/13947484/spotify-player-24-01-16-09-42.log) - The corresponding .backtrace file is empty. **Environment** macOS 14.1 (arm) spotify_player 0.16.3
kerem 2026-03-02 23:45:16 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@aome510 commented on GitHub (Jan 16, 2024):

Oh right, I forgot. You will need to setup Spotify Connect as mentioned in https://github.com/aome510/spotify-player#spotify-connect to connect to another device. Otherwise, get_device API will return empty.

<!-- gh-comment-id:1893411807 --> @aome510 commented on GitHub (Jan 16, 2024): Oh right, I forgot. You will need to setup Spotify Connect as mentioned in https://github.com/aome510/spotify-player#spotify-connect to connect to another device. Otherwise, `get_device` API will return empty.
Author
Owner

@chrisgrieser commented on GitHub (Jan 16, 2024):

ah, I see! Wasn't aware of that. Thanks again.

<!-- gh-comment-id:1893454804 --> @chrisgrieser commented on GitHub (Jan 16, 2024): ah, I see! Wasn't aware of that. Thanks again.
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#181
No description provided.