map_album_songs

🟡 Incomplete

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


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

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

Inputs

FieldTypeDescription
artiststringArtist name
albumstringAlbum title

Outputs

FieldTypeDescription
lenunsigned integerHow many Song's there are
songsarray of Song objectsSee Song

Example Request

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

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "len": 2,
    "songs": [
      {
        "title": "SUNFLOWER",
        "map": 2444,
        "album": 222,
        "runtime": 252,
        "sample_rate": 44100,
        "track": 1,
        "disc": null,
        "mime": "audio/mpeg",
        "extension": "mp3"
      },
      {
        "title": "BEST FRIEND",
        "map": 2398,
        "album": 222,
        "runtime": 262,
        "sample_rate": 44100,
        "track": 2,
        "disc": null,
        "mime": "audio/mpeg",
        "extension": "mp3"
      }
    ]
  },
  "id": 0
}