myMPD
Internal API documentation
|
Webradio functions. More...
Functions | |
sds | webserver_webradio_get_cover_uri (struct t_webradios *webradio_favorites, struct t_webradios *webradiodb, sds buffer, sds uri) |
sds | webserver_webradio_get_extm3u (struct t_webradios *webradio_favorites, struct t_webradios *webradiodb, sds buffer, sds uri) |
Webradio functions.
sds webserver_webradio_get_cover_uri | ( | struct t_webradios * | webradio_favorites, |
struct t_webradios * | webradiodb, | ||
sds | buffer, | ||
sds | uri | ||
) |
Searches webradio favorites and WebradioDB by uri and returns the cover image uri
webradio_favorites | Pointer to webradio favorites |
webradiodb | Pointer to WebradioDB |
buffer | Already allocates sds string to append the response |
uri | Uri to search |
sds webserver_webradio_get_extm3u | ( | struct t_webradios * | webradio_favorites, |
struct t_webradios * | webradiodb, | ||
sds | buffer, | ||
sds | uri | ||
) |
Searches webradio favorites and WebradioDB by uri and returns an extm3u
webradio_favorites | Pointer to webradio favorites |
webradiodb | Pointer to WebradioDB |
buffer | Already allocates sds string to append the response |
uri | Uri to search |