Skip to content

Commit

Permalink
修复mg歌词在某些情况下获取失败的问题(#1783
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Feb 14, 2024
1 parent 2e19665 commit 8069253
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
@@ -1,6 +1,7 @@
### 修复

- 修复某些情况下歌曲加载时间过长时不会自动跳到下一首的问题
- 修复mg歌词在某些情况下获取失败的问题(#1783

### 其他

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/utils/musicSdk/mg/lyric.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const mrcTools = {
if (!url) return Promise.resolve('')
return this.getText(url)
},
getMusicInfo(songInfo) {
async getMusicInfo(songInfo) {
return songInfo.mrcUrl == null
? getMusicInfo(songInfo.copyrightId)
: songInfo
Expand Down

0 comments on commit 8069253

Please sign in to comment.