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
981 stars 79 forks source link

When sending an URI of an unavailable song to v1/me/player/play the return is the same as with an available song. #682

Open kwindo opened 7 years ago

kwindo commented 7 years ago

Issue found on February 19th 2015.

Endpoint(s):

Steps to reproduce:

  1. Open the API Console
  2. https://developer.spotify.com/web-api/console/put-play/?body-json=%7B%22uris%22%3A%0D%0A%5B%22spotify%3Atrack%3A1SOINd6dkwmZHPA53oBAD1%22%5D%7D

Expected behaviour:

Find some information about the song not being available in the call's return

Actual behaviour:

This song has become unavailable. It was once available and I had it in one of my playlist. spotify:track:1SOINd6dkwmZHPA53oBAD1

When I send the URI of this song in a “PUT https://api.spotify.com/v1/me/player/play” call the Spotify client will show “This song is not available. If you have the file on your computer you can import it”.

Playback will not start. However the return to the call does not seem to have any information about the song being unavailable.

I found a work around to still show a message in my app when something like this happens but I can’t help but think information about this kind of play-issues should be send back so it can be picked up.

arirawr commented 7 years ago

Hey @kwindo, thanks for the request. We totally agree that having an indication of track availability would improve the experience. We're looking into it. I'll be sure to update here with any developments.

kwindo commented 7 years ago

That's good to read @arirawr . Thanks for your reply!

zmzm commented 5 years ago

Hey @arirawr! Is there any updates about indication of track availability?

Pooplefronk002 commented 4 years ago

I am looking for this functionality as well. Any updates?