diff --git a/deemix/tagger.js b/deemix/tagger.js index e6000ad..cb870de 100644 --- a/deemix/tagger.js +++ b/deemix/tagger.js @@ -211,7 +211,8 @@ function tagFLAC(path, track, save){ } if (save.cover && track.album.embeddedCoverPath){ - flac.importPicture(track.album.embeddedCoverPath) + let picture = fs.readFileSync(track.album.embeddedCoverPath) + if (picture.length != 0) flac.importPicture(picture) } flac.save()