Skip to content

Commit

Permalink
将下载歌曲的歌手信息中的分隔符从 替换为 ; 以确保音乐元数据在写入时的兼容性和一致性(#1989 @qnnp-me
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Aug 24, 2024
1 parent 4a121db commit da7429f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions publish/changeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- 优化侧栏图标显示,修复图标可能被裁切的问题(#1960
- 托盘图标添加当前播放歌曲名字显示
- 优化本地歌曲内嵌封面过大时的加载方式
- 将下载歌曲的歌手信息中的分隔符从 `` 替换为 `;` 以确保音乐元数据在写入时的兼容性和一致性(#1989 @qnnp-me

### 修复

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/store/download/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,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?.replaceAll('、', ';'),
album: downloadInfo.metadata.musicInfo.meta.albumName,
APIC: imgUrl,
}, lrcData, getProxy())
Expand Down

0 comments on commit da7429f

Please sign in to comment.