WP-Spotify – fixed for WP 3.2.1
I’ve been asked a few times about the WP-Spotify plugin on my page. An awesome plugin created by David Hermansson allows WordPress users to link tracks, artists and albums to Spotify. Unfortunately with progress on WordPress to version 3.x the plugin appears to hit a few snags when returning album details. As the plugin seems to be “on-hold” currently, I thought I’d have a play to get it working with the newest version of WordPress (currently 3.2.1).
I’ve made a few changes to version 1.1 of the plugin to get the album track to display again so hopefully it will help the community to keep spreading the good work of the original author.
Download WP-Spotify -fixed here.
Note: If you have tried to install the plugin in the past ensure that the WP-Spotify tables in SQL are completely empty otherwise the album field will not populate itself.
Edit: As mentioned, after clearing the WP-Spotify tables in SQL, you must go back to any posts that have a Spotify track and hit ‘update’ -- thanks to Dionysus for pointing this out.