h1. Examples Some brief examples using iTunes Controller (taken from the main project website). h2. Information about current track Get information about the currently playing track:
iTunes itc = new iTunes();
ITTrack itt = itc.getCurrentTrack();
System.out.println("Currently playing:");
System.out.println("Name:    " + itt.getName());
System.out.println("By:      " + itt.getArtist());
System.out.println("Album:   " + itt.getAlbum());
h2. Skip track Skip to the next track, wait for 5 seconds and pause:
iTunes itc = new iTunes();
itc.nextTrack();
try {
   Thread.sleep(5000);
} catch (InterruptedException e) {}
itc.playPause();