🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Restore volume when playing a song...
Deluan189d0c0ab347
diff --git a/ui/src/audioplayer/Player.js b/ui/src/audioplayer/Player.jsindex 8a3efe3b2..e031bd20b 100644--- a/ui/src/audioplayer/Player.js+++ b/ui/src/audioplayer/Player.js@@ -113,6 +113,9 @@ const Player = () => {const onAudioPlay = useCallback((info) => {+ if (audioInstance) {+ audioInstance.volume = playerState.volume+ }dispatch(currentPlaying(info))setStartTime(Date.now())if (info.duration) {@@ -136,7 +139,7 @@ const Player = () => {}}},- [dispatch, showNotifications]+ [dispatch, showNotifications, audioInstance, playerState.volume])const onAudioPause = useCallback(