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.
- 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
- Doesn't require iTunes to be running
- Supports iTunes 6 - 10
// 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();