diff --git a/src/components/playback/audioPlayer/index.tsx b/src/components/playback/audioPlayer/index.tsx index b49029e..31557e8 100644 --- a/src/components/playback/audioPlayer/index.tsx +++ b/src/components/playback/audioPlayer/index.tsx @@ -28,13 +28,19 @@ const AudioPlayer = () => { const location = useLocation(); const audioRef = useRef(null); - const [url, display, item, volume, isMuted] = useAudioPlayback((state) => [ - state.url, - state.display, - state.item, - state.player.volume, - state.player.isMuted, - ]); + const [url, display, item, volume, isMuted, startTimeTicks] = + useAudioPlayback((state) => [ + state.url, + state.display, + state.item, + state.player.volume, + state.player.isMuted, + state.startTimeTicks, + ]); + const seekAppliedRef = useRef(false); + useEffect(() => { + seekAppliedRef.current = false; + }, [item?.Id]); const [tracks, currentTrack] = useQueue((state) => [ state.tracks, diff --git a/src/components/remoteControl/index.tsx b/src/components/remoteControl/index.tsx index f50f28d..c167bad 100644 --- a/src/components/remoteControl/index.tsx +++ b/src/components/remoteControl/index.tsx @@ -223,6 +223,16 @@ const RemoteControlDialog = () => { .filter(Boolean) .join(" · ")} + {session.SupportsRemoteControl === false && ( + + No active control channel (WebSocket) — check the + reverse proxy. + + )} {item && (