修复潜在播放暂停的问题
parent
4cc3197be8
commit
1217f06324
|
@ -9,6 +9,7 @@
|
|||
- 修复 Windows 下界面缩放后移动桌面歌词会改变歌词窗口大小的问题(#2244)
|
||||
- 修复 tx 歌单搜索名字、描述出现乱码的问题(#2250)
|
||||
- 修复本地 FLAC 文件内嵌歌词无法读取的问题
|
||||
- 修复潜在播放暂停的问题
|
||||
|
||||
### 优化
|
||||
|
||||
|
|
|
@ -564,6 +564,7 @@ export const playPrev = async(isAutoToggle = false): Promise<void> => {
|
|||
* 恢复播放
|
||||
*/
|
||||
export const play = () => {
|
||||
window.lx.isPlayedStop &&= false
|
||||
if (playMusicInfo.musicInfo == null) return
|
||||
if (isEmpty()) {
|
||||
if (createGettingUrlId(playMusicInfo.musicInfo) != gettingUrlId) setMusicUrl(playMusicInfo.musicInfo)
|
||||
|
|
|
@ -87,14 +87,13 @@ export default () => {
|
|||
}
|
||||
const handleEnded = () => {
|
||||
// setTimeout(() => {
|
||||
setAllStatus(t('player__end'))
|
||||
if (window.lx.isPlayedStop) {
|
||||
setAllStatus(t('player__end'))
|
||||
console.log('played stop')
|
||||
return
|
||||
}
|
||||
// resetPlayerMusicInfo()
|
||||
// window.app_event.stop()
|
||||
setAllStatus(t('player__end'))
|
||||
void playNext(true)
|
||||
// })
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue