|
myMPD
Internal API documentation
|
Extra media files. More...
#include "src/lib/mympd_state.h"

Go to the source code of this file.
Functions | |
| sds | mympd_api_get_extra_media (sds buffer, struct t_mpd_state *mpd_state, sds booklet_name, sds info_txt_name, const char *uri, bool is_dirname) |
Extra media files.
| sds mympd_api_get_extra_media | ( | sds | buffer, |
| struct t_mpd_state * | mpd_state, | ||
| sds | booklet_name, | ||
| sds | info_txt_name, | ||
| const char * | uri, | ||
| bool | is_dirname | ||
| ) |
Public functions Looks for images and the booklet in the songs directory and counts the number of embedded images
| buffer | buffer to append the jsonrpc result |
| mpd_state | pointer to the shared mpd state |
| booklet_name | filename for booklet |
| info_txt_name | filename for album info |
| uri | song uri to get extra media for |
| is_dirname | true if uri is a directory, else false |