Lastpod

  • Wiki
  • Timeline
  • Browse Source
  • View Issues
  • New Issue

About

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.

Screenshots

Download

LastPod version 1.1 (the version of LastPod 1.2 released on 7/28/2009 has a critical bug! I have reverted this download page to 1.1)

Blog

http://lastpod.blogspot.com/

Changes

LastPod contains some significant updates. Please see the ChangeLog.

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.

Pre-requisites

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

  1. Download the latest version of LastPod (the link is at the bottom of the page).
  2. Extract to directory of your choosing.
  3. Listen to music on your iPod. Note: A track will only be counted as played when listened to completely from start to finish.
  4. Connect the iPod to your computer.
  5. Run either the lastPod.sh (unix) or lastPod.bat (windows).
  6. 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
  7. Review the tracks you've listened to and then click "Submit Tracks".
  8. Close out of LastPod.
  9. 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

The source code for LastPod is available via git access at http://github.com/christilden/lastpod. Please see BuildingFromSource for instructions on compiling the project from source code.

Attachments

  • lastPod-v1.1.zip (107.6 kB) - added by christilden on 07/30/09 15:07:43.