Skip to main content

Module decoder

Module decoder 

Source
Expand description

Event decoder - converts EnrichedEvent to typed property changes

This module decodes raw events from sonos-stream into typed property changes that can be applied to the StateStore.

Structs§

DecodedChanges
Decoded changes from a single event
TopologyChanges
Changes extracted from a ZoneGroupTopology event

Enums§

PropertyChange
A single property change

Functions§

decode_event
Decode an enriched event into typed property changes
decode_topology_event
Decode a ZoneGroupTopology event into TopologyChanges
parse_track_metadata
Parse DIDL-Lite track metadata into (title, artist, album, album_art_uri).