Documentation

PlayState
in package

Table of Contents

Cases

Paused
Music is currently paused.
Playing
Currently plating music.
Stopped
No music playing, but not paused.
Transitioning
The speaker is currently working on either playing or pausing.
Unknown
The speaker is in an unknown state.

Cases

Stopped

No music playing, but not paused.

This is a rare state, but can be encountered after an upgrade, or if the queue was cleared

Transitioning

The speaker is currently working on either playing or pausing.

Check it's state again in a second or two

Unknown

The speaker is in an unknown state.

This should only happen if Sonos introduce a new state that this code has not been updated to handle.

On this page

Search results