state_playing

🟢 Stable

This API is stable since festivald v1.0.0.


Retrieve playback status.

Inputs

None

Outputs

FieldTypeDescription
playingbooleanAre we currently playing?

Example Request

festival-cli state_playing
curl http://localhost:18425 -d '{"jsonrpc":"2.0","id":0,"method":"state_playing"}'

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "playing": true
  },
  "id": 0
}