map_artist_entries
🟢 Stable
This API is stable since festivald v1.0.0.
Input an Artist name, retrieve all their Song's in Entry form.
The Entry's are sorted by Album release date, then Track + Disc order.
Inputs
| Field | Type | Description |
|---|---|---|
| artist | string | Artist name |
Outputs
| Field | Type | Description |
|---|---|---|
| len | unsigned integer | How many Entry's there are |
| entries | array of Entry objects | See Entry |
Example Request
festival-cli map_artist_entries --artist "Rex Orange County"
curl http://localhost:18425 -d '{"jsonrpc":"2.0","id":0,"method":"map_artist_entries","params":{"artist":"Rex Orange County"}}'
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
}