|
myMPD
Internal API documentation
|
myMPD tagart API More...
#include "compile_time.h"#include "src/mympd_api/tagart.h"#include "src/lib/api.h"#include "src/lib/json/json_rpc.h"#include "src/lib/log.h"#include "src/mympd_api/trigger.h"#include <string.h>
Functions | |
| sds | mympd_api_tagart (struct t_mympd_state *mympd_state, struct t_partition_state *partition_state, sds buffer, unsigned request_id, unsigned long conn_id, sds tag, sds value) |
myMPD tagart API
| sds mympd_api_tagart | ( | struct t_mympd_state * | mympd_state, |
| struct t_partition_state * | partition_state, | ||
| sds | buffer, | ||
| unsigned | request_id, | ||
| unsigned long | conn_id, | ||
| sds | tag, | ||
| sds | value | ||
| ) |
Fetches the tagart. MPD has no function for this, we rely only on scripts. Local tagart was already read by the webserver thread.
| mympd_state | pointer to mympd state |
| partition_state | pointer to partition specific states |
| buffer | already allocated sds string for the jsonrpc response |
| request_id | request id |
| conn_id | mongoose connection id |
| tag | mpd tag |
| value | mpd tag value |