spotify / web-api

This issue tracker is no longer used. Join us in the Spotify for Developers forum for support with the Spotify Web API ➡️ https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer
983 stars 79 forks source link

Device API is not working properly. #1506

Open kushkadu opened 4 years ago

kushkadu commented 4 years ago

First i will launch spotify desktop player and play some tracks and use device API (as shown below) to to get devices. It will return me desktop player as active.

Then close this desktop player and again hit device API. This time it will return me desktop player is active (same response as above). This behavior observed some time.

Expected: It should not return any devices, it will return an empty array.

Device API i used: GET -> "https://api.spotify.com/v1/me/player/devices".