iTunes Helper

    Having started using iTunes again I was in need of tools to update play counts and last played dates.  Most resources and scripts referred to Mac, but I found that it is possible to access iTunes from Windows using vbscript and also .Net.  It is possible to create a reference to iTunes.Application which then exposes various methods and properties.  One of these is a list of the currently selected tracks.

    It was then relatively simple to create a few tools to work with the exposed track list.  A little bit of work resulted in tools to get the genre from Last.fm, correct sort fields to match the Artist, alter play count, alter last played and so on. I also added to the fun working with Windows Presentation Foundation and xaml.  I now have a neat little Windows app that adds to iTunes features conspicuous by their absence.

    More to come.