From e1505148c8ad2161b72fe2a23515395643c5d883 Mon Sep 17 00:00:00 2001 From: MengYX Date: Sun, 6 Dec 2020 02:32:57 +0800 Subject: [PATCH] Add tips for qmc not writing cover --- src/decrypt/qmc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/decrypt/qmc.js b/src/decrypt/qmc.js index 8d2c7a5..8b8f8d4 100644 --- a/src/decrypt/qmc.js +++ b/src/decrypt/qmc.js @@ -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)