map_artist_songs

🟡 Incomplete

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


Input an Artist name, retrieve all their Song's.

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

Inputs

FieldTypeDescription
artiststringArtist name

Outputs

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

Example Request

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

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
}