PHP class to parse iTunes Library XML files.
See example.php for example usage.
The library is an array of track objects. The track object has no methods, but contains the following properties:
- Album
- Album Loved
- Album Rating Computed
- Album_Artist
- Album_Rating
- All Items
- Artist
- Artwork_Count
- Audiobooks
- Bit_Rate
- BPM
- Clean
- Comments
- Compilation
- Composer
- Content_Rating
- Date_Added
- Date_Modified
- Description
- Disabled
- Disc_Count
- Disc_Number
- Distinguished_Kind
- Episode
- Episode_Order
- Explicit
- File_Folder_Count
- File_Type
- Folder
- Genre
- Grouping
- Has Video
- HD
- iTunesU
- Kind
- Library_Folder_Count
- Location
- Loved
- Master
- Movie
- Movies
- Music
- Music Video
- Name
- Normalization
- Part Of Gapless Album
- Persistent_ID
- Play_Count
- Play_Date
- Play_Date_UTC
- Podcast
- Podcasts
- Purchased
- Purchased Music
- Rating
- Rating Computed
- Release_Date
- Sample_Rate
- Season
- Series
- Size
- Skip_Count
- Skip_Date
- Sort_Album
- Sort_Album_Artist
- Sort_Artist
- Sort_Composer
- Sort_Name
- Sort_Show
- Total_Time
- Track_Count
- Track_ID
- Track_Number
- Track_Type
- TV Show
- TV Shows
- Unplayed
- Video_Height
- Video_Width
- Visible
- Volume_Adjustment
- Year