Start player in pause mode if windows is reloaded/refreshed. Fixes #457

This commit is contained in:
Deluan
2020-09-24 09:37:28 -04:00
parent 2230a9052f
commit a1c670b40d
2 changed files with 22 additions and 4 deletions
+2 -1
View File
@@ -44,7 +44,7 @@ const Player = () => {
autoPlay: true,
preload: true,
autoPlayInitLoadPlayList: true,
// loadAudioErrorPlayNext: false,
loadAudioErrorPlayNext: false,
clearPriorAudioLists: false,
showDestroy: false,
showDownload: false,
@@ -94,6 +94,7 @@ const Player = () => {
return {
...defaultOptions,
clearPriorAudioLists: queue.clear,
playIndex: queue.playIndex,
audioLists: queue.queue.map((item) => item),
defaultVolume: queue.volume,
}