myMPD
Internal API documentation
Loading...
Searching...
No Matches
filesystem.h File Reference

myMPD filesystem API More...

Include dependency graph for filesystem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

sds mympd_api_browse_filesystem (struct t_mympd_state *mympd_state, struct t_partition_state *partition_state, sds buffer, unsigned request_id, sds path, unsigned offset, unsigned limit, sds searchstr, const struct t_fields *tagcols)
 

Detailed Description

myMPD filesystem API

Function Documentation

◆ mympd_api_browse_filesystem()

sds mympd_api_browse_filesystem ( struct t_mympd_state mympd_state,
struct t_partition_state partition_state,
sds  buffer,
unsigned  request_id,
sds  path,
unsigned  offset,
unsigned  limit,
sds  searchstr,
const struct t_fields tagcols 
)

Public functions Lists the entry of directory in the mpd music directory as jsonrpc response Custom order: directories, playlists, songs

Parameters
mympd_statepointer to mympd state
partition_statepointer to the partition state
bufferalready allocated sds string to append result
request_idjsonrpc request id
pathpath to list
offsetoffset for listing
limitmax entries to list
searchstrstring to search
tagcolscolumns to print
Returns
pointer to buffer