Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/callumacrae/plist
- Owner: callumacrae
- Created: 2011-03-15T20:36:28.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-08-28T21:57:56.000Z (over 12 years ago)
- Last Synced: 2024-12-17T05:29:28.499Z (23 days ago)
- Language: PHP
- Homepage:
- Size: 109 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/