Last.fm Recently Played Tracks

Plugin to display recently played tracks from Last.fm for a user.

Author:Justin Turner (profile at wordpress.org)
WordPress version required:2.9.2
WordPress version tested:3.0.5
Plugin version:1.2.0
Added to WordPress repository:22-07-2010
Last updated:02-01-2011
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://ijustin.org/last-fm-widget
Total downloads:4 663
Active installs:60+
plugin download
Click to start download

The Last.fm Recently Played Tracks widget is here to feel in the gap of old plugins and other plugins that just don't seem to work right anymore! When you search the WordPress plugins gallery, you'll notice that all of the Last.fm recently playing plugins seem to be at least one to two years old or have low reviews. That's why I took the time to whip up this widget.

IMPORTANT NOTE

If you upgraded to version 1.1.8 BEFORE 5:30PM CST on 10/7/2010, please delete and reinstall the plugin. There was a subversion error that caused the stylesheets to not be included in the WordPress download file. The issue has now been resolved.

Version 1.2.0

Version 1.2.0 fixes an XML issue that may occur when Last.fm provides invalid responses. Also fixed issue with incompatibility with Searchlight plugin.

Shortcode Support!

You can now display your latest tracks played anywhere you can insert a shortcode! All you have to do is put the shortcode [lastfm] where you want it to appear. You can set the options for it as well.

Shortcode Options

  • Username - used as username=xxxx
  • Number of Tracks - used as tracks=(any number between 1 and 50)
  • Show Album Art - used as albumart=(0 for no, 1 for yes)
  • Show User Info - used as userinfo=(0 for no, 1 for yes)

Example: [lastfm username=just_in_time90 tracks=3 albumart=1 userinfo=1]

If you don't set the options, they will default to your widget options.

Features

  • Selectable Username (of course)
  • Shortcode Support
  • Widget Title
  • Number of tracks to show
  • Select whether to show user info or not
  • Select whether to show album art or not
  • Show Last.fm star icon if no album art available
  • Ability to customize style

Current Limitations

  • Only one instance of the widget is allowed right now