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

myMPD song API More...

Include dependency graph for song.c:

Functions

sds mympd_api_song_details (struct t_mympd_state *mympd_state, struct t_partition_state *partition_state, sds buffer, unsigned request_id, const char *uri)
 
sds mympd_api_song_comments (struct t_partition_state *partition_state, sds buffer, unsigned request_id, const char *uri)
 

Detailed Description

myMPD song API

Function Documentation

◆ mympd_api_song_comments()

sds mympd_api_song_comments ( struct t_partition_state partition_state,
sds  buffer,
unsigned  request_id,
const char *  uri 
)

Gets the comments from a song

Parameters
partition_statepointer to partition state
bufferalready allocated sds string to append the response
request_idjsonrpc request id
urisong uri
Returns
pointer to buffer

◆ mympd_api_song_details()

sds mympd_api_song_details ( struct t_mympd_state mympd_state,
struct t_partition_state partition_state,
sds  buffer,
unsigned  request_id,
const char *  uri 
)

Gets the song details, tags and stickers

Parameters
mympd_statepointer to mympd state
partition_statepointer to partition state
bufferalready allocated sds string to append the response
request_idjsonrpc request id
urisong uri
Returns
pointer to buffer