Add tips for qmc not writing cover

This commit is contained in:
MengYX 2020-12-06 02:32:57 +08:00
parent 60fef1c41d
commit 2b55a92f7b
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,8 @@ export async function Decrypt(file, raw_filename, raw_ext) {
writer.importPictureFromBuffer(Buffer.from(imageInfo.buffer))
musicDecoded = writer.save()
musicBlob = new Blob([musicDecoded], {type: mime});
} else {
console.info("writing metadata for " + ext + " is not being supported for now")
}
} catch (e) {
console.warn("Error while appending cover image to file " + e)