So, I finished fleshing out the last.fm scrobbling plugin for WordPress. You can grab it here.
Extract to your plugins directory, activate the plugin in the plugins page, go to the ez scrobbler menu under plugins and set your info, then paste get_scrobbler() wherever you want it.
It’s pretty sweet. The main features are:
- Admin-based settings
- Live ajax updates
- Caches to database, to prevent last.fm from disabling your scrobbling account on busy sites
That last one turns out to be a little significant, potentially. Last.fm prefers up to one request a second, per their docs. So, if your site is busy, potentially last.fm will disable updating/retrieving information from the service. File based-caching works, but there are potential lock issues when more than one person is updating the cache file; not counting the permissions issues one runs into.
In any event, give it a shot and let me know what you think… Works under WP1.5 and WP2

0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment