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:
3 files changed
+56
-1
No files matched your search
@@ -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
|
||||
}),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user