Announcements

Help Wizard

Step 1

NEXT STEP

Starred playlist not opening on web player

Starred playlist not opening on web player

On Chrome and FIrefox on Windows 7, I can't open my starred playlist. When I open it, it will show me the pictures of the first 4 songs, but the song list will not display. If I choose the 'play' button, it will start playing through this playlist anyway.

 

The cause of this issue is as follows:

 

First I get this JavaScript error when I try to view my starred playlist at https://play.spotify.com/user/brqqq/starred 

 

Uncaught TypeError: Cannot read property 'timestamp' of undefined
at https://play.spotify.edgekey.net/apps/collection/0.5.19/all.js:22246:49
at Array.sort (native)
at f.<anonymous> (https://play.spotify.edgekey.net/apps/collection/0.5.19/all.js:22245:31)
at https://play.spotify.edgekey.net/apps/collection/0.5.19/all.js:967:26
at c.Callback.apply (https://play.spotify.edgekey.net/apps/collection/0.5.19/all.js:820:70)
at f.setDone (https://play.spotify.edgekey.net/apps/collection/0.5.19/all.js:6804:64)
at f.e (https://play.spotify.edgekey.net/apps/collection/0.5.19/all.js:7587:27)
at SpotifyApi._requestReply (https://play.spotify.edgekey.net/apps/collection/0.5.19/all.js:1170:69)

 

The line that causes the error is this: 

 

var c = a.attributes.timestamp || a.index, d = b.attributes.timestamp || b.index, e = d - c;

 

In one case, the variable 'a' does not have a property called 'attributes', and therefore also has no timestamp, which causes the error. The state of the variable at that moment is as follows:

 

"{"uri":"spotify:track:133g7oJWqvMnhvwfXL4CU1","index":69}"

 

Setting a breakpoint at this point and modifying this particular instance and assign it a new 'attributes' object with some random timestamp inside of it fixes everything.

 

I do not believe I have ever added this song to my starred list. I believe at some point (probably ages ago), one song got replaced with this song and caused all of this. I can probably remove this song from my playlist to fix it, but I'll leave it for now so it can be looked at.

 

 

Reply
0 Replies

Suggested posts