key_entry

🟢 Stable

This API is stable since festivald v1.0.0.


Input a Song key, retrieve an Entry.

Inputs

FieldTypeDescription
keySong key (unsigned integer)See Key

Outputs

FieldTypeDescription
entryEntry objectSee 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
}