1.0.1 • Published 8 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-tag
Or with yarn:
$ yarn add id3-auto-tag
Usage
tag(filePath[, options], callback);
filePath
= < string >options
= < Object >query
= < string > default =filename
imageSize
= < 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!');
}
});