The issue #122 I reported before seemed to be fixed by fdb1b5d7d9802143d26fc92a3292fba3cdbc961f, but that fix introduced another issue.
The latest release invokes the completion callback twice for
this file.
var fs = require('fs')
var mm = require('musicmetadata')
mm(fs.createReadStream('./twice.mp3'), { duration: true }, function (err, data) { console.log(err, data) })
The issue #122 I reported before seemed to be fixed by fdb1b5d7d9802143d26fc92a3292fba3cdbc961f, but that fix introduced another issue.
The latest release invokes the completion callback twice for this file.
results in
Reverting fdb1b5d7d9802143d26fc92a3292fba3cdbc961f is not a solution, because it would resuscitate #122.