Skip to content

🎧 Your Personal Streaming Service

Don't show "playing/paused" icon on the first song when calling "Play Now"

Deluanb34d77f85af8
diff --git a/ui/src/reducers/playerReducer.js b/ui/src/reducers/playerReducer.js
index 1c4dcc34d..10d7676a0 100644
--- a/ui/src/reducers/playerReducer.js
+++ b/ui/src/reducers/playerReducer.js
@@ -110,15 +110,8 @@ const reduceSetVolume = (state, { data: { volume } }) => {
}
const reduceSyncQueue = (state, { data: { audioInfo, audioLists } }) => {
- const current = audioLists.length > 0 ? audioInfo : {}
- const savedPlayIndex = audioLists.findIndex(
- (item) => item.uuid === current.uuid
- )
-
return {
...state,
- current,
- savedPlayIndex,
queue: audioLists,
clear: false,
playIndex: undefined,