Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/callumacrae/plist

Parses iTunes library and tells the user how long they have listened to iTunes for
https://github.com/callumacrae/plist

Last synced: 20 days ago
JSON representation

Parses iTunes library and tells the user how long they have listened to iTunes for

Awesome Lists containing this project

README

        

# callumacrae/plist

This plist parser simply parses a plist file and returns an array of data found in the file. It is extremely easy to use; the following line of code is an example of how it works:

```php
$array = plist::Parse('path/to/file');
```

The demo (itunes_demo.php) will parse the iTunes plist file - remember to tell it where it is - and tell you how long you have listened to your music for. *DO NOT USE THE DEMO ON A LIVE SERVER.* It can use a lot of resources, and is also vulnerable to RFI injection (kind of intentional to keep the script simpler).

It is released under the Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license:
http://creativecommons.org/licenses/by-sa/3.0/