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

Extra media files. More...

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

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)
 

Detailed Description

Extra media files.

Function Documentation

◆ mympd_api_get_extra_media()

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

Parameters
bufferbuffer to append the jsonrpc result
mpd_statepointer to the shared mpd state
booklet_namefilename for booklet
info_txt_namefilename for album info
urisong uri to get extra media for
is_dirnametrue if uri is a directory, else false
Returns
pointer to buffer