state_repeat
🟢 Stable
This API is stable since festivald v1.0.0.
Retrieve the currently set repeat mode.
Inputs
None
Outputs
| Field | Type | Description |
|---|---|---|
| mode | string, one of off, song, queue | The currently set repeat mode. off mean repeat is off, song means Song repeating, queue means queue repeating. |
Example Request
festival-cli state_repeat
curl http://localhost:18425 -d '{"jsonrpc":"2.0","id":0,"method":"state_repeat"}'
Example Response
{
"jsonrpc": "2.0",
"result": {
"mode": "off"
},
"id": 0
}