i am working on electron + angularjs . and i start getting the problem of DeprecationWarning: Calling an asynchronous function without callback is deprecated. when i use id3js to read the tags from mp3 file .
id3({file: pathtofile,type: id3.OPEN_LOCAL}, function(err, tags) {
if (err) {
console.log(err);
} else {
console.log(tags);}
});
the code retun the tags from the mp3 file but keep generate this deprecation warning