LastPod is a tool, written in Java, that will parse the "iTunesDB/Play Counts" file from an iPod and submit played tracks to AudioScrobbler (last.fm). This project was started by muti under the name AudioPod. Muti has generously turned over maintenance of the project. It has been renamed LastPod because the audiopod.org domain is taken.
Check at IpodSupport to see if your model is supported.
NOTE: LastPod runs on Java 1.4 or greater.
How it Works
When you listen to a track on your iPod, a reference and play time of that track is saved in a file named "Play Counts". Upon syncing your iPod, this file is parsed and the iTunesDB play count field for that track is incremented. LastPod takes advantage of the "Play Counts" file by parsing the iTunesDB and "Play Counts" and grabbing the last time played. It then grabs the track information which was parsed from the iTunesDB and submits these tracks to AudioScrobbler.
You must have a Java Run-time Environment installed. This can be downloaded from http://java.sun.com/j2se/1.4.2/download.html and clicking on "Download J2SE JRE".
How to Use
- Download the latest version of LastPod (the link is at the bottom of the page).
- Extract to directory of your choosing.
- Listen to music on your iPod. Note: A track will only be counted as played when listened to completely from start to finish.
- Connect the iPod to your computer.
- Run either the lastPod.sh (unix) or lastPod.bat (windows).
- Set your preferences if this is the first time running LastPod.
- Note: The iTunesDB location is the iTunesDB on your iPod, DRIVE:\iPod_Control\iTunesDB\iTunesDB
- Review the tracks you've listened to and then click "Submit Tracks".
- Close out of LastPod.
- Sync your iPod using whatever software you usually use, this will remove the "Play Counts" file and update your iTunesDB with the current play counts.
Things to be Aware of
- If you use iTunes for Windows you will want to disable the option to automatically run iTunes when an iPod is connected.
- ITunes users will also want to enable the "Enable disk use" option.
- Do not listen to any tracks using your audio player until you have synced your iPod. If you do, your iPod played tracks will not go through due to the AudioScrobbler spam protection. The spam protection disallows any tracks to be submitted that have a timestamp before the most recently played track.
- Make sure your time and timezone is set properly on your iPod and your computer. The iPod does not save the time in UTC format, so we convert to UTC using the current timezone offset of your computer. If these are different, your play time will be computed improperly.
- If you listen to the same track more than one time without syncing, it will only be submitted once (using the last play time as the timestamp). This is because the "Play Counts" file only keeps track of the last time the track was played.
Source Code Access
- lastPod-v1.1.zip (107.6 kB) - added by christilden on 07/30/09 15:07:43.