修复随机播放模式下使用稍后播放功能会导致歌曲单曲循环的问题

This commit is contained in:
lyswhut 2021-08-20 10:15:38 +08:00
parent 54c9e7e211
commit 703bfced45
2 changed files with 2 additions and 1 deletions

View File

@ -13,3 +13,4 @@
### 修复
- 修复tx源的歌词无法显示的问题
- 修复随机播放模式下使用稍后播放功能会导致歌曲单曲循环的问题

View File

@ -185,7 +185,7 @@ const handlePlayMusic = async({ getState, dispatch, playMusicInfo, musicInfo, is
// console.log('set url getting done')
})
// console.log(AppState.currentState)
if (!isRefresh && state.common.setting.player.togglePlayMethod == 'random') dispatch({ type: TYPES.addMusicToPlayedList, payload: playMusicInfo })
if (!isRefresh && !playMusicInfo.isTempPlay && state.common.setting.player.togglePlayMethod == 'random') dispatch({ type: TYPES.addMusicToPlayedList, payload: playMusicInfo })
// console.log(musicInfo.img)
if (!musicInfo.img) {