key_artist_entries

🟢 Stable

This API is stable since festivald v1.0.0.


Input an Artist key, retrieve all their Song's in Entry form.

The Entry's are sorted by Album release date, then Track + Disc order.

Inputs

FieldTypeDescription
keyArtist key (unsigned integer)See Key

Outputs

FieldTypeDescription
lenunsigned integerHow many Entry's there are
entriesarray of Entry objectsSee Entry

Example Request

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

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "len": 2,
    "entries": [
      {
        "path": "/home/hinto/Music/Rex Orange County/RAINBOW/SUNFLOWER.mp3",
        "key_artist": 62,
        "key_album": 222,
        "key_song": 2444,
        "artist": "Rex Orange County",
        "album": "RAINBOW",
        "song": "SUNFLOWER"
      },
      {
        "path": "/home/hinto/Music/Rex Orange County/RAINBOW/BEST FRIEND.mp3",
        "key_artist": 62,
        "key_album": 222,
        "key_song": 2398,
        "artist": "Rex Orange County",
        "album": "RAINBOW",
        "song": "BEST FRIEND"
      }
    ]
  },
  "id": 0
}