diff --git a/publish/changeLog.md b/publish/changeLog.md index 6c6ca70c..a99bd531 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -2,3 +2,4 @@ - 修复设置-控制按钮位置选项与下载歌词编码格式选项命名冲突导致选项显示异常的问题 - 修复播放下载列表时存在失效的歌曲会导致切歌不准确的问题 +- 修复潜在的音乐加载超时不会切歌的问题 diff --git a/src/renderer/components/core/Player.vue b/src/renderer/components/core/Player.vue index 5ee46b86..beb95d89 100644 --- a/src/renderer/components/core/Player.vue +++ b/src/renderer/components/core/Player.vue @@ -370,6 +370,7 @@ export default { audio.addEventListener('playing', () => { console.log('开始播放') + this.clearBufferTimeout() this.statusText = this.$t('core.player.playing') this.status = '' this.startPlay() @@ -432,7 +433,6 @@ export default { this.mediaBuffer.playTime = 0 audio.currentTime = playTime } - this.clearBufferTimeout() this.updatePositionState() // if (this.musicInfo.lrc) window.lrc.play(audio.currentTime * 1000)