|
myMPD
Internal API documentation
|
myMPD playlistart API More...
#include "compile_time.h"#include "src/mympd_api/playlistart.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_playlistart (struct t_mympd_state *mympd_state, struct t_partition_state *partition_state, sds buffer, unsigned request_id, unsigned long conn_id, sds name, sds type) |
myMPD playlistart API
| sds mympd_api_playlistart | ( | struct t_mympd_state * | mympd_state, |
| struct t_partition_state * | partition_state, | ||
| sds | buffer, | ||
| unsigned | request_id, | ||
| unsigned long | conn_id, | ||
| sds | name, | ||
| sds | type | ||
| ) |
Fetches the playlistart. MPD has no function for this, we rely only on scripts. Local playlistart 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 |
| name | Playlist name |
| type | Playlist type |