myMPD
Internal API documentation
Loading...
Searching...
No Matches
playlistart.c File Reference

myMPD playlistart API More...

#include "src/mympd_api/playlistart.h"
#include "src/lib/log.h"
#include "src/mympd_api/trigger.h"
#include <string.h>
Include dependency graph for playlistart.c:

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)

Detailed Description

myMPD playlistart API

Function Documentation

◆ mympd_api_playlistart()

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.

Parameters
mympd_statepointer to mympd state
partition_statepointer to partition specific states
bufferalready allocated sds string for the jsonrpc response
request_idrequest id
conn_idmongoose connection id
namePlaylist name
typePlaylist type
Returns
jsonrpc response