iTunes Library Editor

iTunes Library Editor is a .NET dll which can edit iTunes library files (*.itl) without using the Apple iTunes SDK.

Whats wrong with the iTunes SDK?

  • Its slow
  • iTunes starts and shows its main window.
  • iTunes may begin to synchronize connected iPods, download podcasts and artwork, display modal dialogs and take the focus from your application.
  • iTunes continues to run after you've finished.

By contrast, iTunes LibraryEditor is:
  • Very quick to load library files (under a second instead of 5-6 seconds for iTunes SDK for a large library)
  • Simple to use - add and remove both tracks and playlists with a couple of lines of code
  • Has no need for iTunes to be running
  • Supports iTunes 6 - 10


Usage example:
// Load the default iTunes library
iTunesLibrary library = new iTunesLibrary();

// Add a track to the iTunes library:
Track newTrack = library.Tracks.Add("c:\\music\\mytrack.mp3");

// Add a playlist to the iTunes library:
Playlist newPlaylist = library.Playlists.Add("My new list");
newPlaylist.AddTrack(newTrack);
library.SaveChanges();
		
Full documentation here