feat(qconnect): surface server queue_hash onto queue state

Decoder now reads field #100 (previously decoded-then-dropped) on QueueState
and carries it through to QConnectQueueState.last_server_queue_hash via the
QueueStateReplaced reducer path (full-state replace already clones it).

cc
This commit is contained in:
vicrodh committed 2026-06-01 03:16:16 -06:00
1 parent 8256cc3122
commit 3ac68e788a
3 files changed
+56 -1

No files matched your search

+4 -1
View File
@@ -544,7 +544,10 @@ fn map_queue_state(payload: QueueStateMessage) -> Result<QueueServerEvent, Proto
"shuffled_track_indexes": shuffled_indexes,
"autoplay_mode": payload.autoplay_mode.unwrap_or(false),
"autoplay_loading": payload.autoplay_loading.unwrap_or(false),
"autoplay_tracks": autoplay_tracks
"autoplay_tracks": autoplay_tracks,
// Field #100: previously decoded-then-dropped. Surfaced for the
// queue_hash divergence seam (algorithm is a BLOCKING unknown).
"server_queue_hash": payload.queue_hash
}),
})
}