This plugin hasn’t 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.

Last.fm Recently Played Tracks

Description

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

Screenshots

  • In use on iJustin.org
  • Zoomed in

Installation

  1. Upload entire lastfm-recently-played-tracks folder to /wp-content/plugins/ directory
  2. Activate the plugin in WordPress
  3. Visit the widgets section and drag widget to sidebar
  4. Select your settings

Upgrade Instructions

Now that the plugin utilizes a stylesheet, if you customize it in anyway, you’ll need to make a backup copy of the “custom.css” stylesheet before you update the plugin. If you do not, you’ll lose all the changes you made.

FAQ

If you have a question, submit it on the contact page here.

Contributors & Developers

“Last.fm Recently Played Tracks” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.2.0

  • Added internalization of errors that occur when Last.fm provides bad responses to the plugin. Also fixed issue with incompatibility with Searchlight plugin.

1.1.8

  • Moved styling to external stylesheet. Widget will now default to the font and styling of your theme. You can customize it in the custom.css file by using the Plugin Editor.

1.1.7

  • Fixes for Firefox not displaying widget styling properly.

1.1.6

  • Added requests for link to profile and ability to customize styling.

1.1.5

  • Contains checks and fixes for issues that may arise when a theme is missing certain variables.

1.1.4

  • Major code fix that could cause error on some webhosts with differing PHP setups.

1.1.3

  • Minor code and bug fixes.

1.1.2

  • Code updates and fixes as identified by plugin users.

1.1.1

  • Code updates

1.1.0

  • Updated coding to support shortcode usage as well as code cleanup.

1.0.12

  • Corrected several spelling errors throughout plugin as well as removal of some deprecated PHP functions.

1.0.11

  • Added option to be able to select whether or not to use JS as a temporary fix for some issues working with themes such as FutureBlogger.

1.0.10

  • Cosmetic fix for long song titles

1.0.9

  • Added option to select whether to enable AJAX/JS auto-refresh of tracks.
  • Cosmetic updates to settings section.
  • In this version of the plugin, auto refresh is DISABLED by default.

1.0.8

  • Addresses caching issue and code fix for if user doesn’t have profile picture so that no “X” or “?” appears instead. (Thanks Cidney!)

1.0.7

  • Addresses issue caused if plugin is disabled while someone is on the site and the plugin tries to JavaScript refresh.

1.0.6

  • Fixed issue caused by whitespace in PHP code that caused activation error and on some blogs header output errors

1.0.5

  • Fix that caused play time to show up incorrectly
  • Compatibility check for version 3.0.1 of WordPress

1.0.4

  • Added user info functionality

1.0.3

  • Fixed slight spelling issues throughout the plugin

1.0.2

  • Added auto-refresh of tracks using JS

1.0.1

  • Added error message if last.fm is down

1.0.0

  • First released version