0.4.0 • Published 10 years ago

itunes-db v0.4.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

node-itunes-db: Fast iTunes XML Parser

An iTunes XML library database parser, designed for large libraries.

Installation

npm install itunes-db --save

Example

var itunesDB = require("itunes-db")
    .loadSync("/Users/remko/Music/iTunes/iTunes Music Library.xml");

console.log("Tracks:", itunesDB.tracks);
console.log("Playlists:", itunesDB.playlists);

API

load(db, cb)

Loads the given iTunes database asynchronously.

Warning: This function currently blocks the main thread, and isn't therefore really async.

  • db - string
    The path to the iTunes XML file to load.

  • cb - string
    The path to the iTunes XML file to load.

loadSync(db)

Loads the given iTunes database synchronously.

  • db - string
    The path to the iTunes XML file to load.
0.4.0

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago