iTunes Scripts

This section wouldn’t be possible if Apple didn’t release a Software Development Kit (SDK) for the Windows version of iTunes.   I originally introduced the iTunes SDK in the article “Scripting iTunes.. a Look at Apples iTunes SDK” and have been having fun with VBScript ever since.  

Current scripts that I have made available for download are:

Remove duplicates 

Originally introduced in Using the iTunes SDK to Remove Duplicate Songs this script automates the removal of duplicate tracks from your iTunes library.   Using the song size and bitrate, it will try to keep the songs that are recorded at a higher quality.

Version history:

1.0 - Original release

1.1 - Includes logging

1.2 - Changes in logging and checking for orpaned song entries

1.3 - Added checking to verify the script was only looking at tracks

Download Remove_Dup_iTunes_Tracks.zip

Remove Orphaned Tracks

This script was introduced in a article titled “Using the iTunes SDK to Remove Orphaned Songs“.  It removes entries in your iTunes library that don’t have files associated.   This is the one you need to get rid of the exclamation point next to your songs.

Version history:

1.0 - Original release

Download RemoveOrphanTracks.zip

Update Library Information

Sometimes your friends are the best source of inspiration.  This script was developed for a friend that needed a script to have iTunes go through all of it’s song library and update the tag information from the file.   Read the posting “Using the iTunes SDK to Update Library Info” for more information.

Version history:

1.0 - Original release

Download UpdateFromFile.zip