修改mp3info命令错误

main
amuliang 2024-02-18 14:45:40 +08:00
parent 6356c10e09
commit 2698f2ddd2
1 changed files with 1 additions and 1 deletions

View File

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