Sample code for the iTunes plugin