Skip to content

Conversation

@glima
Copy link

@glima glima commented Nov 1, 2025

This PR fixes the issue where the local streaming device was not included in the device list popup.

The device pane (Shift+D) was showing empty when users didn't configure
a custom client_id, even when using the integrated streaming feature.
This was problematic because:

- Users couldn't see available devices to transfer playback
- When Spotify automatically switched playback to another device (e.g.,
  phone), there was no way to switch back through the UI
- The local streaming device was functional but invisible in the device
  list

This commit modifies the GetDevices handler to automatically include the
local librespot device when the streaming feature is enabled. The device
is only added if not already present in the API response, avoiding
duplicates.

With this fix, the device list will always show at least the local
device when streaming is enabled, allowing users to transfer playback
back to their computer even when Spotify switches it elsewhere.

Fixes the issue where integrated playback was functional but the device
management UI was unusable.

Signed-off-by: Gustavo Lima Chaves <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant