1

I want to create a play button for Spotify for a users playlist. For some reason it returns an error message: "sorry, this playlist is empty"

This is the code i'm using:

<iframe src="https://embed.spotify.com/?uri=spotify:user:robleach:playlist:5Cv2iMSoeJvFKgQeweFhFD" width="300" height="380" frameborder="0" allowtransparency="true"></iframe>

And it returns the error: "sorry, this playlist is empty"

If however I use the example code on Spotify's site, which is essentially the same code it works? I'm presuming it may be down to it being a different user?

<iframe src="https://embed.spotify.com/?uri=spotify:user:erebore:playlist:788MOXyTfcUb1tdw4oC7KJ" width="250" height="80" frameborder="0" allowtransparency="true"></iframe>

Has anyone had this trouble before? Anyone got a work around?

Cheers Rob.

4

2 に答える 2

2

There is nothing wrong with your code and yes, it's because it is a different user. This is a server issue.

  1. The play button service is having problem and can't return some playlists (that are not in its cache), because the underlying playlist system is having problems.
  2. The error message is lying.

It has happened before and there is no good workaround. :(

于 2012-07-11T18:50:48.917 に答える
0

Ahh, so that's what's going on! You know, if you post an individual song, it works perfectly. I'm posting all the songs in my playlist separately (a pain) until the problem is fixed.

于 2012-07-12T02:02:56.293 に答える