From 2698f2ddd2043be23dc37a4c7fbda435246c6823 Mon Sep 17 00:00:00 2001 From: amuliang <982632988@qq.com> Date: Sun, 18 Feb 2024 14:45:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9mp3info=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/model/StoreModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/model/StoreModel.js b/app/model/StoreModel.js index bf52796..79d5452 100644 --- a/app/model/StoreModel.js +++ b/app/model/StoreModel.js @@ -57,7 +57,7 @@ async function storeMusic(path, url, info) { async function modifyMP3Info2(path, info) { path = handlePath(path); // 要执行的命令行指令 - const command = `mp3info -a ${info.author} -t ${info.title} ${path}`; + const command = `mp3info -a "${info.author}" -t "${info.title}" "${path}"`; exec(command, (error, stdout, stderr) => { if (error) {