yanoff.org
Skip navigation.
yan·off (yä nôf) n. A Wisconsin family consisting of Gillie, Carly, Kathy and Scott Yanoff.

music

iTunes Stats: display your iTunes and iPod library stats and listening habits

Last Updated: January 23, 2010

I liked this iTunes stats thing on Facebook, What's on my iPod? but I wanted to get the stats without having to upload my file all the time. So, I taught myself a little VB Script and wrote a rudimentary stats/metrics program. It basically spits out a bunch of numbers and lists to a date-stamped file and it takes about a minute to run for every 1,000 songs you have. For me, it takes just over 3 minutes to run on my aging home PC (with nearly 5,000 songs).

You can save it anywhere on your PC and double-click on it and it should run. You may need to have VB.NET installed, so you can go to the Microsoft Updates site for that. I am VERY interested in feedback on this, and I'd welcome enhancements to the script as well. You can email me at yanoff-NOSPAM@yahoo.com (just remove the "-NOSPAM").

Download iTunesStats.vbs

View sample output text file of iTunes Stats

iTunes Stats Update History

Version Date Release Notes
2.13   01-23-2010 Added total song play count for the top albums
2.12   01-03-2010 Increased the number of top albums listed from 30 to 50
Made min. # of songs on an album a constant for easy changing by users
Minor cosmetic changes to the output
2.11   03-20-2009 Changed Tracks by Year to be Tracks by Decade
2.10   02-25-2009 Added artist name to all song lists
Now limits list of years to top 30 years, and numbers them
Now numbers genres and allows for more space for them
2.9   02-04-2009 Increased top albums display from 25 to 30 albums
Corrected leading zero in seconds place in average track duration
2.8   01-23-2009 Added count of unique artists
2.7   01-12-2009 Limited the Artists list to 100 instead of displaying entire list
2.6   01-10-2009 Limited the Top Genres list to 20 instead of displaying entire list
Most-played album listing now only shows albums with more than 7 songs
2.5   01-09-2009 Removed longest songs listing (it was too hard to sort by time for such little value)
Added play counts by hour of the day
2.4   01-07-2009 Added average track duration, average play count per track
2.3   01-03-2009 Corrected display of count of least-recently played tracks
2.2   01-01-2009 Corrected filename to include leading zero in month and day
Added total song time and total played time
2.1   12-30-2008 Cosmetic improvement: right-justification of numbers in the tables
Added enumeration to the lists
Enhanced the information by artist to include average plays per artist
Added message at start of execution so user knows the script is running
File that is generated is now automatically launched at the end
Added percentages to some of the statistics
1.0   12-24-2008 iTunesStats created