WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Last.Fm Records

This plugin shows cd covers for cds your listened to, according to last.fm. It can show covers in a page or post, and you can add it as a widget.

WordPress Shortcode

The [lastfmrecords] shortcode gives you the opportunity to show cd covers in your posts. It uses the settings from the plugin, but you can add arguments to overrule them:

  • period="***": can be set to recenttracks, lovedtracks, tracks7day, tracks3month, tracks6month, tracks12month, tracksoverall, topalbums7day, topalbums3month, topalbums6month, topalbums12month and topalbumsoverall
  • count: number of covers to show
  • stylesheet: simple or hover
  • imgwidth: width (and height) of the cd covers
  • user: last.fm username
  • refreshmin: time between updates (only works for period recenttracks)

For example:

[lastfmrecords user="xample" period="lovedtracks" count="14" stylesheet="hover"]

jQuery plugin

Starting with version 1.7, the javascript in this plugin is a jQuery plugin. It means you can use it on non-WordPress sites with a little bit of code:

  1. include jQuery, and the 'last.fm.records.js' file from this plugin
  2. add <div id="lastfmrecords_elem"></div> to your HTML (the id name is yours to choose, of course)
  3. use this piece of jQuery to show covers
jQuery(document).ready( function() {
  jQuery("#lastfmrecords_elem").lastFmRecords(
    {"period": "recentttracks", "user": "lastfmusername", "count": "4"}
  );
});
  1. check the shortcode options for all arguments.

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2013-4-28
Downloads: 41,152

Ratings

3 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
100,1,1
0,2,0
0,3,0
33,6,2
0,1,0
100,1,1
100,1,1
67,3,2
0,1,0
50,2,1
100,1,1
0,1,0
0,1,0
100,1,1 0,1,0
0,1,0
100,1,1
100,1,1