key_song_album

🟡 Incomplete

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


Input a Song key, retrieve its Album.

Inputs

FieldTypeDescription
keySong key (unsigned integer)See Key

Outputs

FieldTypeDescription
albumAlbum objectSee Album

Example Request

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

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "album": {
      "title": "Pony",
      "key": 241,
      "artist": 62,
      "release": "2019-09-19",
      "runtime": 2032,
      "song_count": 10,
      "songs": [
        2540,
        2545,
        2548,
        2553,
        2558,
        2567,
        2573,
        2578,
        2581,
        2587
      ],
      "discs": 0,
      "art": 190830,
      "genre": "Alternative & Indie"
    }
  },
  "id": 0
}