修改mp3info命令错误
parent
6356c10e09
commit
2698f2ddd2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue