A new version of iScrobbler came out on April 3rd 2007.
Major changes in 1.5:
- iPod Shuffle support
- The currently playing track can be Loved, Banned, Tagged, and Recommended from the Stats window. (10.4+ only)
- Previously played Tracks/Artists can be Loved, Banned, Tagged, and Recommended from the Top Lists window. (10.4+ only)
- You can view and change your recently Loved/Banned tracks. (10.4+ only)
- Removed “Your Fan Rating” from the Artist Details, and replaced it with a listing of the Artist tags (fully clickable).
from iScrobbler Downloads & Requirements
Out of pure boredom and because I did enough work on my thesis today (…and because there wasn’t anything decent on TV), I decided to distract myself with a little coding. This is what came out:
Just download it, rename the filename ending to .php, configure it by pasting in the last.fm URL of your desired location and upload it to your webserver. You will also have to download SimplePie that takes care of the all the RSS stuff and place it in the same directory as the LastVenue script.
If you want to include it into a PHP script paste in the following:
This script pulls all events for a specific venue from last.fm and lists them in a simple, CSS styleable unorderd list. The script is meant to be included into a webpage and thus features none of the other HTML markup to make it into a full document. It basically only echoes out a headline and a few list items.
Oh yea, of course the script is Microformats enabled 😉
Note: the AJAX loding functions got skipped, because I’m really tired right now. Maybe they’ll show up in version 2.0 …who knows?
The following post outlines how I managed to get a wallpaper compiled out of my top 50 artists at last.fm that changes automatically every hour. To achieve that I used the last.fm cover art website, Automator and the Unix utility cron.
- Open Automator and start a new workflow. First thing we have to make sure is that the old wallpaper gets deleted. You wouldn’t want your harddisk fill up with wallpapers. So drag the “Find Finder Items” action from the Finder Library to the workflow and set it up as showed in the picture. (Wallpaper is a folder in my Pictures folder that holds all of my background images.)
- Choose the “Move to Trash” Action from the Finder Library and drag it under the previous Action.
- Next we have to get the desired wallpaper from the previously mentioned page. First go there and set up the wallpaper just as you like it. Make sure the “Randomise” checkbox is checked, otherwise it wouldn’t make much sense to reload the image every hour, would it? 😉
When you’re done setting up your image click on “Image Me” and wait for the picture to appear, then copy the address from the address bar of your browser.
Back in Automator choose the Safari Library and drag the “Get specified URLs” Action to the workflow. Paste the just copied address into the “Address” field in the Action. (Or if you did this with Safari and got the page still open, just click the “Current Safari Page” button)
- To save the image in the right folder we need the “Download URLs” Action from the Safari Library and specify the folder we chose previously in the delete step.
- In the following two steps of the workflow the file is renamed with date and seconds till midnight, so it has a different filename each time it gets downloaded. Otherwise OS X wouldn’t change the wallpaper even if the image changed.
- The last Action is Finder’s “Set the Desktop Picture” which you just have to drag into the workflow and you’re done.
- Save the workflow as Application into your Applocations folder and remember the name. (I named mine “last.fm – Azath0th – Wallpaper”). Now comes the scary part – the Terminal 😉
- We have to set up a cronjob. In order to do that type in crontab -e and paste the following in the crontab file.
0 * * * * /usr/bin/open "/Applications/last.fm - Azath0th - Wallpaper.app"
Of course you have to substitute the name of the program with yours.
This executes the Automator workflow every hour at 0 minutes on every possible day. (0 * * * *)
A few words of caution though:
Be sure that your desired download folder doesn’t contain any other files that contain “coverart” in their filename or Automator will delete those as well.
When the workflow runs it forces itself into the foreground which can be a bit annoying sometimes. I’m not sure what happens if you’re in the middle of a presentation and the workflow kicks in, it might be better to deactivate it during those occasions by putting a hash caracter (#) in front of the call in the crontab file.
Enjoy it and please tell me if you’ve got any ideas to improve the whole thing.
Following up to my post from yesterday, I found another funny last.fm calculation, the AEP Calculator.
You just type in your username and based on the top 50 artists in your profile, it will tell you how diverse your music taste is. If you are over 4 you’re very diverse, under 0 means you’re kind of obsessive about your top artists.
See the site for more information on how this index is calculated.
…really, I am serious!
I found this out by typing in my last.fm Username on the Mainstream-O-Meter.
There’s even a top list of the most obscure participants on the bottom 🙂
I always knew: In reality I am different, I just don’t have the time to be it. 😉
Pls, comment with your result…