Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cgmartin/itunes-library-network-graph
https://github.com/cgmartin/itunes-library-network-graph
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cgmartin/itunes-library-network-graph
- Owner: cgmartin
- Created: 2012-03-21T02:19:18.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2016-01-17T16:20:02.000Z (about 9 years ago)
- Last Synced: 2023-03-12T04:11:47.496Z (almost 2 years ago)
- Language: Python
- Homepage: http://cgmartin.com/itunes-library-network-graph/
- Size: 80.1 KB
- Stars: 22
- Watchers: 7
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iTunes Music Library Network Graph
[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)
Experimentation with [D3.js](http://mbostock.github.com/d3/) force-directed
graphs using iTunes library data.**See a [running demo](http://cgmartin.com/itunes-library-network-graph).**
## Installation
1. Clone project into a public web server path.
2. Run `./iTunesGraphParser.py` to scan your iTunes library and write a new ./js/music-data.json file.
3. Point browser to `index.html` on your web server.### iTunesGraphParser.py
A python command line script is included that parses an iTunes library file
and outputs JSON data.Usage: iTunesGraphParser.py [options]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-f FILE, --file=FILE iTunes Library XML file path
-o OUTPUT, --output=OUTPUT
Output to file (default=./js/music-data.json)
-c, --console Output to console instead of file
-r RATING, --rating=RATING
Minimum rating filter (default = 4)
-p, --jsonp Output in JSON-P format
-i INDENT, --indent=INDENT
Indent level for output format (default=None)
-v, --verbose Verbose output