Environment
- sonoscli version: 0.1.1
- Sonos firmware: 93.1-73290
- Speaker: Kitchen (ZPS39)
- Spotify service number: 2311 (confirmed via
sonos smapi services)
- SMAPI auth: completed successfully
- SMAPI search: works fine
Steps to Reproduce
sonos play spotify "August 10 Khruangbin" --name "Kitchen"
Expected
Track plays on Kitchen speaker.
Actual
Error: upnp error 800 — retries 4 times, all fail.
Debug shows AddURIToQueue returns HTTP 500 with 347-byte error body for all URI prefix + service number combos.
Analysis
Looked at the source — spotifySonosMagic for tracks tries:
- URI prefixes:
x-sonos-spotify: and "" (empty)
- Service nums: 2311, 3079
The DIDL metadata and URI format match the test expectations. Suspect the URI encoding or service token descriptor doesn't match what this firmware version expects.
Would be helpful if the debug logging printed the actual EnqueuedURI and EnqueuedURIMetaData being sent.
Environment
sonos smapi services)Steps to Reproduce
Expected
Track plays on Kitchen speaker.
Actual
Error: upnp error 800— retries 4 times, all fail.Debug shows
AddURIToQueuereturns HTTP 500 with 347-byte error body for all URI prefix + service number combos.Analysis
Looked at the source —
spotifySonosMagicfor tracks tries:x-sonos-spotify:and""(empty)The DIDL metadata and URI format match the test expectations. Suspect the URI encoding or service token descriptor doesn't match what this firmware version expects.
Would be helpful if the debug logging printed the actual
EnqueuedURIandEnqueuedURIMetaDatabeing sent.