Audioscrobbler - Last Played Song Scripts
For ages now I have wanted to implement my audioscrobbler last played song list into my website but didn't know how. I looked into it today and below are the best methods I found for displaying your audioscrobbler last played tracks on a website. The main source for info on how to do this can be found at: http://www.audioscrobbler.net/wiki/
Most methods are done with a php script and an include which means that you need to have a php enabled server to display your tracks, other ways take your last played songs RSS feed and display it, or theres this really simple code (Method 1) which will display your last played song, but looks kinda lame.
Method 1.
ScrobblerSig: http://www.denness.net/ss.htm
How to:
Place this code into your website/blog (replace n8kowald with your audioscrobbler username:
<img src="http://www.denness.net/scrobblersig.php?username=n8kowald">
Pro's:
Cons:
Method 2.
RecentTracksOnYourBlog: http://www.audioscrobbler.net/wiki/RecentTracksOnYourBlog

How to:
Follow the instructions listed on this website.
You will have to sign up to Feed Digest (FREE), which will display your feed as a html file that you can use and format to display your recently played songs.
Pros:
Cons:
Method 3.
TextyScrobb: http://samuellame.com/textyscrobb/
Bloodhound Gang - I`m The Least You Could Do
How to: Download the php script and readme file from the above link and follow the directions. TextyScrobb uses a php script and an include to display your most recently played song as text. Simple to set up and include however requires you have a php enabled server to place the php script onto.
Pros:
Cons:
Method 4.
Last.fm Info with PHP
http://www.canspice.org/index.php/lastfm-recently-played-php-code/
How to:
Download the php script and upload it onto your php server, now add an include for the script.
add the following line to the file that you want your songs displayed in:
<?php include(’lastfm_info.php’); ?>
Then, in that same file, put the following line where you want your songs displayed:
<?php display_lastfm_info( username, number_of_items, list, prefix, suffix, stats ); ?>
Change the variables to suit your preferences. Pretty similar to the above method but allows greater customisation and displays multiple songs.
Pros:
Cons:





1 Comments:
Commence comments:
Come hence, calm Ents.
Post a Comment
<< Home