back

🟡 Incomplete

This API's output may have additions in the future.


Go backwards a variable amount of Song's in the queue.

This method ignores the previous_threshold config option, it will always go back.

Inputs

FieldTypeDescription
backunsigned integerHow many Song's to go backwards. This will not wrap around if we hit the 1st Song in the queue.

Outputs

null if everything went ok.

Example Request

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

Example Response

{
  "jsonrpc": "2.0",
  "result": null, // <--- everything went ok.
  "id": 0
}