node-ffmetadata icon indicating copy to clipboard operation
node-ffmetadata copied to clipboard

How to read picture in mp3?

Open kanbekotori opened this issue 10 years ago • 1 comments

The result dosen't have a property like picture(my song really has a cover picture).

ffmetadata.read("song.mp3", function(err, data) {
    if (err) console.error("Error reading metadata, err");
    else console.log(data);
});

kanbekotori avatar Jul 27 '14 02:07 kanbekotori

@kanbekotori: We don't have an API for reading cover images. Writing cover images was just recently added, but no API for reading was added. It shouldn't be too hard to implement. See #3 for details.

parshap avatar Jul 27 '14 03:07 parshap