myMPD timer handlers
More...
◆ get_timer_name()
| const char * get_timer_name |
( |
unsigned |
timer_id | ) |
|
Public functions Return the timer name for a timer_id
- Parameters
-
- Returns
- const char* Timer name
◆ mympd_api_timer_startplay()
| bool mympd_api_timer_startplay |
( |
struct t_partition_state * |
partition_state, |
|
|
unsigned |
volume, |
|
|
sds |
playlist, |
|
|
sds |
preset |
|
) |
| |
This function is used by INTERNAL_API_TIMER_STARTPLAY and is called from the mympd_api_handler
- Parameters
-
| partition_state | pointer to the partition_state |
| volume | mpd volume to set |
| playlist | the mpd playlist to load |
| preset | the preset to load |
- Returns
- true on success else false
◆ timer_handler_by_id()
Handles timer by timer_id, this is only used for internal timers
- Parameters
-
| timer_id | the internal timer_id from enum timer_ids |
| definition | the timer definition - not used |
◆ timer_handler_cache_disk_crop()
| static void timer_handler_cache_disk_crop |
( |
void |
| ) |
|
|
static |
Private definitions
Private functions Timer handler for timer_id TIMER_ID_DISK_CACHE_CROP
◆ timer_handler_caches_create()
| static void timer_handler_caches_create |
( |
void |
| ) |
|
|
static |
Timer handler for timer_id TIMER_ID_CACHES_CREATE
◆ timer_handler_select()
Handles user defined timers
- Parameters
-
| timer_id | the timer id |
| definition | the timer definition |
◆ timer_handler_smartpls_update()
| static void timer_handler_smartpls_update |
( |
void |
| ) |
|
|
static |
Timer handler for timer_id TIMER_ID_SMARTPLS_UPDATE
◆ timer_handler_webradiodb_update()
| static void timer_handler_webradiodb_update |
( |
void |
| ) |
|
|
static |
Timer handler for timer_id TIMER_ID_WEBRADIODB_UPDATE