//BasicConfigurator.configure();
IJitcaITunesController iTunes = new JitcaiTunesController(true);
UserLibrary library = iTunes.getLibrary();
Artist michaelJackson = library.getArtist("Michael Jackson");
michaelJackson.loadAllTracks();
TrackCollection tracks = michaelJackson.getTracks();
System.out.println("The following tracks of \"" + michaelJackson.getName() + "\" are in your library:");
for (Track track : tracks){
System.out.println("\"" + track.getTitle() + "\" (" + track.getAlbum() + ")");
}
iTunes.close();