Sequence Diagrams

Refresh Dynamic Elements

This sequence diagram illustrates the communication that occurs between a Sonos Controller and your Music Service to update dynamic elements such as ratings and favorites.

refresh dynamic elements sequence diagram

Here are the steps shown above:

  1. If you are implementing ratings or favorites, the controller sends periodic getExtendedMetadata requests for a trackID to your service.
  2. Your service responds with an extendedMetadata response that contains the metadata for the track, including any updates to favorites or ratings elements. 

This process occurs continuously, so you will see many of these requests. The frequency with which this happens is specific to your service and situation.