itunes-db

0.4.0 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.4.01latest

Version History

VersionDownloads (Last 7 Days)Published
0.4.01
0.3.00
0.2.00
0.1.00

Package Sidebar

Install

npm i itunes-db

Weekly Downloads

1

Version

0.4.0

License

MIT

Last publish

Collaborators

  • remko