mutagen
v1.0.0
Published
wrapper around the mutagen library
Downloads
17
Readme
mutagen.js
npm package wrapping the mutagen library.
mutagen = require('mutagen');
mutage.read('path/to/file.mp3', function(err, tags) {
if (err) {
return console.log(err);
}
console.log('Artist: ' + tags['artist'][0]);
console.log('Album: ' + tags['album'][0]);
console.log('Title: ' + tags['title'][0]);
console.log('Track Number: ' + tags['tracknumber'][0]);
console.log('All Tags:');
console.log(tags);
});