node-traktor
v0.2.0
Published
scripts for working with traktor files
Downloads
6
Readme
node-traktor
scripts for working with traktor files
api
traktor.locate(cb)
calls back node-style with the path to a traktor root folder.
also usable on the command line (traktor locate
)
traktor.Collection
collection.load(source)
-> this
source can be
- a filepath that points to a collection.nml
- an object that represents a collection file
returns a promise that resolves with the collection when it has been loaded
collection.entries()
-> Array
returns a list of entry items that represent music files
collection.toXML()
-> xml_string
returns an xml string representation of the current tree