aome510 / spotify-player

A Spotify player in the terminal with full feature parity
MIT License
3.46k stars 149 forks source link

No Devices show up / Devices are empty #414

Closed Keyruu closed 5 months ago

Keyruu commented 5 months ago

Describe the bug When I open the spotify_player and I list my devices the list is just empty.

To Reproduce I'm not really sure. I'm on version 0.17.2 and on MacOS.

Expected behaviour It should list some of my devices. Like the Spotify App I have open or my Echos.

Log and backtrace Log and backtrace of a run reproducing the bug to help debug the issue, which are usually located in $HOME/.cache/spotify-player/.

2024-04-18T14:25:20.839015Z  INFO client_request{request=ConnectDevice(None)}: spotify_player::client: Available devices: []
2024-04-18T14:25:20.839058Z  INFO client_request{request=ConnectDevice(None)}: spotify_player::client: Trying to connect to device (id=79c0603f-73ce-4d0d-a5e6-d04a4ce493c8)
2024-04-18T14:25:21.266168Z  INFO client_request{request=ConnectDevice(None)}: spotify_player::client: Connection succeeded (device_id=79c0603f-73ce-4d0d-a5e6-d04a4ce493c8)!
2024-04-18T14:25:21.266693Z  INFO client_request{request=ConnectDevice(None)}: spotify_player::client: successfully handled the client request, took: 1476ms
2024-04-18T14:25:21.290145Z  INFO client_request{request=GetUserSavedAlbums}: spotify_player::client: successfully handled the client request, took: 1500ms
2024-04-18T14:25:22.909582Z  INFO client_request{request=GetDevices}: spotify_player::client: successfully handled the client request, took: 50ms

Screenshots CleanShot 2024-04-18 at 16 34 51@2x

Environment

aome510 commented 5 months ago

Did you setup https://github.com/aome510/spotify-player?tab=readme-ov-file#spotify-connect?

Keyruu commented 5 months ago

Sorry for not being able to read properly!