Revert "fix(qconnect): suppress local playback automation when connected"

This reverts commit b5ab4cd148.
This commit is contained in:
vicrodh committed 2026-03-15 23:23:57 -06:00
1 parent 9c14a76975
commit b4ebad20c5
1 file changed
+2 -6
+2 -6
View File
@@ -196,13 +196,9 @@ export function isQconnectPeerRendererActive(
export function shouldQconnectSuppressLocalPlaybackAutomation(
connected: boolean,
_sessionSnapshot: QconnectSessionSnapshot | null | undefined
sessionSnapshot: QconnectSessionSnapshot | null | undefined
): boolean {
// When QConnect is connected, the server is the authority for track
// transitions — regardless of whether QBZ is the local renderer or a peer
// is rendering. Suppress gapless interception, auto-advance, and
// resume-from-stop so the frontend never fights the server.
return connected;
return connected && isQconnectPeerRendererActive(sessionSnapshot);
}
export function resolveQconnectPlayNextAuthoritativeTrackId(params: {