current_album

🟡 Incomplete

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


Access the Album of the currently set Song.

Inputs

None

Outputs

FieldTypeDescription
albumAlbum objectSee Album

Example Request

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

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "album": {
      "title": "RAINBOW",
      "key": 237,
      "artist": 65,
      "release": "????-??-??",
      "runtime": 1090,
      "song_count": 6,
      "songs": [
        2594,
        2540,
        2600,
        2496,
        2557,
        2500
      ],
      "discs": 0,
      "art": 7753,
      "genre": null
    }
  },
  "id": 0
}