1.0.1 • Published 9 years ago
id3-auto-tag v1.0.1
id3-auto-tag
A simple tool to tag mp3 files automatically.
Installation
Install with npm:
$ npm install --save id3-auto-tagOr with yarn:
$ yarn add id3-auto-tagUsage
tag(filePath[, options], callback);filePath= < string >options= < Object >query= < string > default =filenameimageSize= < number > defualt =512
callback= < Function >
Example
const tag = require('id3-auto-tag');
tag('~/Music/Byte.mp3', {query: 'Byte - Martin Garrix'}, function(error) {
if (error) {
console.error(error);
} else {
console.log('File tagged successfully!');
}
});