map_album_entries

🟢 Stable

This API is stable since festivald v1.0.0.


Input an Artist name and Album title, retrieve all the Song's in that Album in Entry form.

The Entry's are sorted by Track + Disc order.

Inputs

FieldTypeDescription
artiststringArtist name
albumstringAlbum title

Outputs

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

Example Request

festival-cli map_album_entries --artist "Rex Orange County" --album RAINBOW
curl http://localhost:18425 -d '{"jsonrpc":"2.0","id":0,"method":"map_album_entries","params":{"artist":"Rex Orange County","album":"RAINBOW"}}'

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "len": 2,
    "entries": [
      {
        "path": "/home/hinto/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/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
}