key_entry
🟢 Stable
This API is stable since festivald v1.0.0
.
Input a Song
key, retrieve an Entry
.
Inputs
Field | Type | Description |
---|---|---|
key | Song key (unsigned integer) | See Key |
Outputs
Field | Type | Description |
---|---|---|
entry | Entry object | See Entry |
Example Request
festival-cli key_entry --key 5151
curl http://localhost:18425 -d '{"jsonrpc":"2.0","id":0,"method":"key_entry","params":{"key":5151}}'
Example Response
{
"jsonrpc": "2.0",
"result": {
"entry": {
"path": "/home/hinto/Music/song.flac",
"key_artist": 108,
"key_album": 488,
"key_song": 5151,
"artist": "Artist Name",
"album": "Album Title",
"song": "Song Title"
}
},
"id": 0
}