tommc1985 / itunes-library-parsing-class

PHP Class to parse an iTunes Library XML file into an array of objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iTunes Library Parsing Class

PHP Class to parse an iTunes Library XML file into an array of objects.

Example usage

<?php
$libraryPlaylistPath = "path_to_library.xml";
$library = Itunes_Library::import_library_xml($libraryPlaylistPath);

echo '<pre>';
print_r($library->info);
print_r($library->tracks);
print_r($library->playlists);
echo '</pre>';
?>

About

PHP Class to parse an iTunes Library XML file into an array of objects


Languages

Language:PHP 100.0%