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

WebradioDB update functions. More...

#include "src/mympd_worker/state.h"
#include <stdbool.h>
Include dependency graph for webradiodb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool mympd_worker_webradiodb_update (struct t_mympd_worker_state *mympd_worker_state, bool force)
 

Detailed Description

WebradioDB update functions.

Function Documentation

◆ mympd_worker_webradiodb_update()

bool mympd_worker_webradiodb_update ( struct t_mympd_worker_state mympd_worker_state,
bool  force 
)

Updates the WebradioDB from the cloud

Parameters
mympd_worker_statempd worker state
forcetrue = force update, false = update only if database is outdated
Returns
true on success, else false