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
-> this collection.load(source)
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
-> Array collection.entries()
returns a list of entry items that represent music files
-> xml_string collection.toXML()
returns an xml string representation of the current tree