myMPD
Internal API documentation
Loading...
Searching...
No Matches
webradio.c File Reference

Webradio functions. More...

#include "compile_time.h"
#include "src/webserver/webradio.h"
Include dependency graph for webradio.c:

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)
 

Detailed Description

Webradio functions.

Function Documentation

◆ webserver_webradio_get_cover_uri()

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

Parameters
webradio_favoritesPointer to webradio favorites
webradiodbPointer to WebradioDB
bufferAlready allocates sds string to append the response
uriUri to search
Returns
sds Pointer to buffer

◆ webserver_webradio_get_extm3u()

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

Parameters
webradio_favoritesPointer to webradio favorites
webradiodbPointer to WebradioDB
bufferAlready allocates sds string to append the response
uriUri to search
Returns
sds Pointer to buffer