From 7572dcba5783229f37c0f62f438ba0fdb42c7e6a Mon Sep 17 00:00:00 2001 From: qnnp Date: Sun, 28 Jul 2024 17:30:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E9=9F=B3=E4=B9=90=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=B8=AD=E7=9A=84=E6=AD=8C=E6=89=8B=E5=88=86=E9=9A=94?= =?UTF-8?q?=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将歌手信息中的分隔符从`、`替换为`;`,以确保音乐元数据在写入时的兼容性和一致性。这项更改针对的是特定场景下音乐元数据处理的准确性,从而提高应用内部音乐信息管理的准确性和用户体验。 Signed-off-by: qnnp --- src/renderer/store/download/action.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/store/download/action.ts b/src/renderer/store/download/action.ts index a1421b10..92e35abe 100644 --- a/src/renderer/store/download/action.ts +++ b/src/renderer/store/download/action.ts @@ -167,7 +167,7 @@ const saveMeta = (downloadInfo: LX.Download.ListItem) => { } void window.lx.worker.download.writeMeta(downloadInfo.metadata.filePath, { title: downloadInfo.metadata.musicInfo.name, - artist: downloadInfo.metadata.musicInfo.singer, + artist: downloadInfo.metadata.musicInfo.singer?.replace(/、/,';'), album: downloadInfo.metadata.musicInfo.meta.albumName, APIC: imgUrl, }, lrcData)