mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-15 03:30:39 +03:00
Don't autoplay when reloading play queue from Redux store
This commit is contained in:
parent
1710730b45
commit
bcafe88ef9
@ -51,6 +51,7 @@ const Player = () => {
|
||||
bounds: 'body',
|
||||
mode: 'full',
|
||||
loadAudioErrorPlayNext: false,
|
||||
autoPlayInitLoadPlayList: true,
|
||||
clearPriorAudioLists: false,
|
||||
showDestroy: true,
|
||||
showDownload: false,
|
||||
@ -80,6 +81,7 @@ const Player = () => {
|
||||
...defaultOptions,
|
||||
audioLists: playerState.queue.map((item) => item),
|
||||
playIndex: playerState.playIndex,
|
||||
autoPlay: playerState.clear || playerState.playIndex === 0,
|
||||
clearPriorAudioLists: playerState.clear,
|
||||
extendsContent: <PlayerToolbar id={current.trackId} />,
|
||||
defaultVolume: playerState.volume,
|
||||
|
Loading…
x
Reference in New Issue
Block a user