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'
| Flag | Default | What it does |
|---|---|---|
--start int | 0 | Starting index (0-based). |
--limit int | 50 | Max 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
listcallsContentDirectory.Browse(ObjectID=FV:2)and parses the DIDL-Lite favorites.openresolves the favorite, setsAVTransport.SetAVTransportURIwith the favorite's URI + metadata, then callsPlay.