|
myMPD
Internal API documentation
|
myMPD browse database API More...
#include "src/lib/mympd_state.h"

Go to the source code of this file.
Functions | |
| sds | mympd_api_album_detail (struct t_mympd_state *mympd_state, struct t_partition_state *partition_state, sds buffer, unsigned request_id, sds albumid, const struct t_fields *tagcols) |
| sds | mympd_api_album_list (struct t_mympd_state *mympd_state, struct t_partition_state *partition_state, sds buffer, unsigned request_id, sds expression, sds sort, bool sortdesc, unsigned offset, unsigned limit, const struct t_fields *tagcols) |
myMPD browse database API
| sds mympd_api_album_detail | ( | struct t_mympd_state * | mympd_state, |
| struct t_partition_state * | partition_state, | ||
| sds | buffer, | ||
| unsigned | request_id, | ||
| sds | albumid, | ||
| const struct t_fields * | tagcols | ||
| ) |
Lists album details
| mympd_state | pointer to mympd state |
| partition_state | pointer to partition specific states |
| buffer | sds string to append response |
| request_id | jsonrpc request id |
| albumid | id of the album (key in the album_cache) |
| tagcols | t_fields struct of song tags to print |
| sds mympd_api_album_list | ( | struct t_mympd_state * | mympd_state, |
| struct t_partition_state * | partition_state, | ||
| sds | buffer, | ||
| unsigned | request_id, | ||
| sds | expression, | ||
| sds | sort, | ||
| bool | sortdesc, | ||
| unsigned | offset, | ||
| unsigned | limit, | ||
| const struct t_fields * | tagcols | ||
| ) |
Lists albums from the album_cache
| mympd_state | pointer to mympd_state |
| partition_state | pointer to partition specific states |
| buffer | sds string to append response |
| request_id | jsonrpc request id |
| expression | mpd search expression |
| sort | tag to sort the result |
| sortdesc | true to sort descending, false to sort ascending |
| offset | offset of results to print |
| limit | max number of results to print |
| tagcols | tags to print |