How to show “now playing” (i.e. scrobble); from Spotify in your WordPress blog.
This is quite easy to set up; the detour through Last.fm might not be needed in the future. There’s no plugin for scrobbling directly from Spotify to WordPress yet, so Last.fm serves as a proxy from Spotify to WordPress (but also as a scrobbler for iPod/iTunes to WordPress, so you might want to keep Last.fm running even if there’s a future Spotify/Wordpress plugin).
Update 201302209: Halvorsen.org is now on WP 3.5.1, with the standard plugin as installed through the dashboard. No need to run the procedure below by the looks of it.
Update 20091116: I’ve done several WP 2.8.x upgrades and each time got hit by the nasty gzinflate bug described by Rick. Disabled the plugin, updated the http.php file as described, download replacement http.php file as provided by sbruner, updated this post and enabled the plugin again. This procedure seems to have fixed it for me.
- Configure Spotify (Edit/Preferences/Last.fm/Enable scrobbling to last.fm and enter your Last.fm details)
- Install the Last.fm media player and keep both Spotify and Last.fm running
- Install the Last.fm for WordPress plugin
- Configure the plugin in your WordPress blog (Appearance/Widgets)
- Set up your WordPress template to show the widget in ie the sidebar
- The played tracks should show up (I use the “Now playing” header)

2 responses so far ↓
1 Pia [stjerndorff.com] // Mar 8, 2010 at 01:31
Thank you very much! :)
2 Justin DoCanto // Dec 27, 2011 at 10:25
Googled “WordPress spotify plugin” and found your page.
Jut FYI, I wrote a new spotify plugin on WordPress that does the same, hides all mentions of last.fm on the front-end & has inline album artwork/inline-playing coming in the next version =)
http://wordpress.org/extend/plugins/latest-spotify-activity
Leave a Comment