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

Webradio functions. More...

#include "dist/sds/sds.h"
#include "src/lib/webradio.h"
Include dependency graph for webradio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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