Commands

sonos favorites

sonos favorites

Lists and plays Sonos Favorites — the FV:2 container in ContentDirectory.

sonos favorites list [--start N] [--limit N]
sonos favorites open --name "<Room>" [<title>] [--index <n>]

#sonos favorites list

sonos favorites list
sonos favorites list --limit 10
sonos favorites list --format json | jq -r '.[].title'
FlagDefaultWhat it does
--start int0Starting index (0-based).
--limit int50Max results.

#sonos favorites open

Plays a favorite by exact title (case-insensitive) or by 1-based index from sonos favorites list.

sonos favorites open --name "Kitchen" "Morning Coffee"
sonos favorites open --name "Kitchen" --index 3

#How it works

  • list calls ContentDirectory.Browse(ObjectID=FV:2) and parses the DIDL-Lite favorites.
  • open resolves the favorite, sets AVTransport.SetAVTransportURI with the favorite's URI + metadata, then calls Play.