From a58d65e8afbfeb6a5d94ec52f950f8a81b69ba65 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Thu, 24 Dec 2020 11:33:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=81=A2=E5=A4=8D=E4=B8=8A?= =?UTF-8?q?=E6=AC=A1=E6=92=AD=E6=94=BE=E7=9A=84=E6=AD=8C=E6=9B=B2=E6=97=B6?= =?UTF-8?q?=E5=9C=A8=E9=9A=8F=E6=9C=BA=E6=92=AD=E6=94=BE=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8B=E4=B8=8D=E6=8A=8A=E6=81=A2=E5=A4=8D=E6=92=AD=E6=94=BE?= =?UTF-8?q?=E7=9A=84=E6=AD=8C=E6=9B=B2=E6=94=BE=E5=85=A5=E5=B7=B2=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E9=98=9F=E5=88=97=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 3 +++ src/renderer/components/core/Player.vue | 1 + 2 files changed, 4 insertions(+) diff --git a/publish/changeLog.md b/publish/changeLog.md index ae012b8b..195024ba 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -2,3 +2,6 @@ - 我的列表右键菜单新增列表排序功能,可调整单曲、多选后的歌曲的顺序。注意:多选排序还将会按照选中歌曲时的顺序排序 +### 修复 + +- 修复恢复上次播放的歌曲时在随机播放模式下不把恢复播放的歌曲放入已播放队列的问题(该问题会导致随机模式下会导致未播放完整个列表前就会再次随机到该歌曲,以及无法通过上一曲切回该歌曲) diff --git a/src/renderer/components/core/Player.vue b/src/renderer/components/core/Player.vue index 21cab61f..44c24259 100644 --- a/src/renderer/components/core/Player.vue +++ b/src/renderer/components/core/Player.vue @@ -264,6 +264,7 @@ export default { this.$nextTick(() => { this.sendProgressEvent(this.progress, 'paused') }) + if (this.setting.player.togglePlayMethod == 'random') this.setPlayedList(musicInfo) window.restorePlayInfo = null return }