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) {