thelinmichael/spotify-web-api-node

getMyDevices doesn't return newly online system. Spotify player sees it.

Opened this issue · 1 comments

i added a new system (using raspotify as the player), and the Spotify app sees the new device..
I request to play a track on that machine (called second) and it searches for the device id from the know devices.
but can't find this name

then i use the Spotify app to start play, and suddenly the device IS in the list
is there a parameter to force refresh the list (cause the Spotify player found it before play started)
this is V 5.0.2, on raspian Buster or ubuntu x86_64 with raspotify as the player

i see this with librespot playing on ubuntu as well..

status shows the librespot device playing, spotify connect shows it playing, can stop/start...

my app is using spotify.getMyDevices()
to get the device list, then compare to get the id..
but the device is not in the list

I see now 30 minutes later the device is in the list
saw it in the devices test on the spotify developers web UI
https://developer.spotify.com/console/get-users-available-devices/