Skip to content

Instantly share code, notes, and snippets.

View eigan's full-sized avatar

Einar Gangsø eigan

  • PlusOffice
  • Norway
View GitHub Profile
@eigan
eigan / itunes_xml_parser.php
Created August 6, 2010 17:09
Itunes php xml parser class
<?php
/**
* Need to get an array of either tracks or playlists from your itunes library?
* yes? then use this shitty code then
*
* Just do like this:
*
* $itunes = new Parse("path/to/your/iTunes Music Library.xml", "all");
*
* The first paramter is (obviously) the xml file