Skip to content

Commit ff57d00

Browse files
authored
Fix/apply-chinese-conversion-to-local-lyrics (#757)
* 🐞 fix: 为本地歌词也应用简繁转换 * 🐞 fix: 为流媒体歌词也应用简繁转换
1 parent 142a0c5 commit ff57d00

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/core/player/LyricManager.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,7 @@ class LyricManager {
918918
lyricData = await this.handleStreamingLyric(song);
919919
// 排除内容
920920
lyricData = this.handleLyricExclude(lyricData);
921+
lyricData = await this.applyChineseVariant(lyricData);
921922
this.setFinalLyric(lyricData, req);
922923
return;
923924
}
@@ -930,6 +931,7 @@ class LyricManager {
930931
if (settingStore.enableExcludeLocalLyrics) {
931932
lyricData = this.handleLyricExclude(lyricData);
932933
}
934+
lyricData = await this.applyChineseVariant(lyricData);
933935
} else if (song.path) {
934936
lyricData = await this.handleLocalLyric(song.path);
935937
// 排除本地歌词内容

0 commit comments

Comments
 (0)