Since about 3 Days I can no longer Play Playlists on Spotify. When I use the Search function, I am able to play Music of Artists or Albums, but all sort of Playlists are not working anymore. Clicking on the Playlist, doesn’t show any tracks anymore.
Spotify changed their URL structure for playlists in a non-backward compatible way recently. I’ve been in Berlin all week but when I get back home to Palo Alto tomorrow I’ll see if I can patch the plug-in with a fix.
After plugging in your Spotify credentials you should be redirected to a page that shows who you are logged in as, with two oAuth tokens. Copy the bottom “Refresh token”.
Get a copy of the new Spotify index.js file
Now grab a new version of the Spotify plugin’s index.js file from here:
Plug in the refresh token you got from above
In line 451 replace the x’s with your refresh token:
var refreshToken = 'xxxxxxxxx';
Copy the edited file to your Volumio system
Now copy this file over to your Volumio system. First save the current version of the plugin’s index.js file:
Reboot!
Reboot your Volumio system. Now you should be able to browse to your Spotify plugin, and with luck, “My Playlists” will work! Tested on Volumio 2.555.
Thank you, I appreciate your work! Your update is working for me ( V 2.565)
But there still seems to be an issue with the " Featured Playlists" and “Genre and Moods” tabs, they still are not working. If i add these Playlists to my Playlists they are working fine. I think its feasable to fix them too, but I don’t get along well with javascript…
The core Volumio team will be releasing a newly updated Spotify plugin in the next few weeks. In the mean time, if you have any friends who are computer geeks I would recommend buying them a beer or two and they can do the update for you in a couple of minutes.
Just copied this over on my Volumio Pi and reimplimented my Last.fm support. I can now add playlists to the queue and play them, but the song list doesn’t load when browsing the playlists in “Featured Playlists” and “Genres & Moods” like with the pre update.
Yes, the core Volumio team is working on releasing a production version of the plugin that will not require people to go out to the AWS server I’m using to execute the Oauth workflow to generate the access tokens. It should happen soon!