Skip to content

🎧 Your Personal Streaming Service

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

Deluancff5c1ee5326
diff --git a/ui/src/audioplayer/Player.js b/ui/src/audioplayer/Player.js
index dd5dfe134..80ec31deb 100644
--- a/ui/src/audioplayer/Player.js
+++ b/ui/src/audioplayer/Player.js
@@ -41,7 +41,7 @@ const Player = () => {
theme: playerTheme,
bounds: 'body',
mode: 'full',
- autoPlay: true,
+ autoPlay: false,
preload: true,
autoPlayInitLoadPlayList: true,
loadAudioErrorPlayNext: false,
@@ -94,6 +94,7 @@ const Player = () => {
return {
...defaultOptions,
clearPriorAudioLists: queue.clear,
+ autoPlay: queue.clear || queue.playIndex === 0,
playIndex: queue.playIndex,
audioLists: queue.queue.map((item) => item),
defaultVolume: queue.volume,