Q: How does the audioscrobbler plugin work?
A:
The audioscrobbler plugin checks the tracks you listen to in real-time and uploads the track info to www.last.fm. Obviously, this only works when you are connected to the internet, it does not work with portable players such as the iPod while offline.
Q: So how does iPodScrobbler work?
A:
iPodScrobbler is a Python script that can read the "Last played" timestamp info from your iPod when you reconnect it to your Mac or PC. It then uploads the track info of all tracks you listened to while on-the-go in a batch process (since the last time you uploaded).
Important: the iPod only sets a "last played" timestamp when you have listened to the whole song from beginning to end! Thus iPodScrobbler can only upload the info when you listen to the whole song, this differs from the behaviour of other audioscrobbler plugins.
Q: Are there other plugins that support the iPod?
A:
To submit tracks from your iPod to audioscrobbler, the Mac iTunes plugin supports that directly and for windows there is an audiopod extension that seems to work (http://homepage.sunrise.ch/mysunrise/ph_waeber/audiopod/). YamiPod, an application to manage your iPod (iTunes replacement) supports last.fm too (among many other nice features).
Check last.fms tools page for more options.
I've had mixed results with the Mac iScrobbler plugin, mainly because I manage the tracks on my iPod manually. The plugin seems to have problems recocgnizing the iPod when starting up and also starts iTunes immediately which leads to the Play Counts file being deleted.
So I just developed my own plugin: iPodScrobbler
Step 1: How do I set up iTunes and the iPod?
Step 2: How do I upload tracks when reconnecting to my PC/Mac?
python iPodScrobbler.py -u username -p password /Volumes/<iPod_Name>
"C:\Program Files\Python23\python" iPodScrobbler.py -u username -p password <iPod_Drive_Letter>
Caveats and Don'ts
Getting help:
Please go to the group forum at http://www.last.fm/group/iPodScrobbler/forum and post your questions there.
Q: I keep getting this error: "FAILED Plugin bug: Not all request variables are set - no POST parameters." What gives?
A:
This is actually some bug on last.fms part, that I could not resolve. The requests are definitely correct, but sometimes they still fail.
I assume it's due to some of their anti-spam features (or maybe server overload), I haven't been able to get a reply from them. They don't really like bulk upload tools, it's against the concept of their site (online listening, uploading one song at a time).
They sort of tolerate it because they have to, too many people use iPods after all.
I have added a fix for this problem, iPodScrobbler now retries the request up to 3 times. This is usually sufficient to get it through to last.fms servers.
If this doesn't help and you still get that error, you can either try to increase the number of retries in the script (there is a variable near the top) or you can use the --timestamp option to restart the upload again just before that last song that did not get submitted (it's cumbersome I know).
Q: Hey, it seems some tracks I listened to did not get uploaded - why?
A:
Some track info gets filtered out by iPodScrobbler or the way the iPod timestamps tracks:
Q: I have more feature requests or encountered a bug - what to do?
A:
Send me an email please, to Mike at hoc dot net.
Please make sure to include the following info:
python iPodScrobbler.py -d -v 3 <iPod_Drive_Name> > output.txt