|
myMPD
Internal API documentation
|
MPD client idle event handling. More...


Go to the source code of this file.
Functions | |
| void | mympd_client_idle (struct t_mympd_state *mympd_state, struct t_work_request *request) |
| void | mympd_client_scrobble (struct t_mympd_state *mympd_state, struct t_partition_state *partition_state) |
MPD client idle event handling.
| void mympd_client_idle | ( | struct t_mympd_state * | mympd_state, |
| struct t_work_request * | request | ||
| ) |
Public functions This is the central function to handle api requests and mpd events. It is called from the mympd_api thread.
| mympd_state | pointer to the mympd state struct |
| request | work request from the mympd_api queue |
| void mympd_client_scrobble | ( | struct t_mympd_state * | mympd_state, |
| struct t_partition_state * | partition_state | ||
| ) |
Scrobble event Execute scrobble event scripts, updates the last play list and sets stickers.
| mympd_state | pointer to partition state |
| partition_state | pointer to partition specific state |