current_entry
🟢 Stable
This API is stable since festivald v1.0.0
.
Access the currently set Song
, in Entry
form.
Inputs
None
Outputs
Field | Type | Description |
---|---|---|
entry | Entry object | See Entry |
Example Request
festival-cli current_entry
curl http://localhost:18425 -d '{"jsonrpc":"2.0","id":0,"method":"current_entry"}'
Example Response
{
"jsonrpc": "2.0",
"result": {
"entry": {
"path": "/home/hinto/Music/Rex Orange County/RAINBOW/SUNFLOWER.mp3",
"key_artist": 65,
"key_album": 237,
"key_song": 2539,
"artist": "Rex Orange County",
"album": "RAINBOW",
"song": "SUNFLOWER"
}
},
"id": 0
}