|
myMPD
Internal API documentation
|
Functions to populate the jukebox queue. More...
#include "src/mympd_worker/state.h"

Go to the source code of this file.
Functions | |
| bool | mympd_worker_jukebox_push (struct t_mympd_worker_state *mympd_worker_state) |
| bool | mympd_worker_jukebox_error (struct t_mympd_worker_state *mympd_worker_state, sds error) |
| bool | mympd_worker_jukebox_queue_fill (struct t_mympd_worker_state *mympd_worker_state, struct t_list *queue_list, unsigned add_songs, sds *error) |
| bool | mympd_worker_jukebox_queue_fill_add (struct t_mympd_worker_state *mympd_worker_state, struct t_list *queue_list, unsigned add_songs, sds *error) |
Functions to populate the jukebox queue.
| bool mympd_worker_jukebox_error | ( | struct t_mympd_worker_state * | mympd_worker_state, |
| sds | error | ||
| ) |
Pushes an jukebox creation error to the mympd api thread
| mympd_worker_state | pointer to mpd worker state |
| error | Error message to send |
| bool mympd_worker_jukebox_push | ( | struct t_mympd_worker_state * | mympd_worker_state | ) |
Pushes the created jukebox queue to the mympd api thread
| mympd_worker_state | pointer to mpd worker state |
| bool mympd_worker_jukebox_queue_fill | ( | struct t_mympd_worker_state * | mympd_worker_state, |
| struct t_list * | queue_list, | ||
| unsigned | add_songs, | ||
| sds * | error | ||
| ) |
Fills the jukebox queue
| mympd_worker_state | pointer to mpd worker state |
| queue_list | list to check uniq constraint against |
| add_songs | number of songs to additionally add |
| error | pointer to allocates sds for error message |
| bool mympd_worker_jukebox_queue_fill_add | ( | struct t_mympd_worker_state * | mympd_worker_state, |
| struct t_list * | queue_list, | ||
| unsigned | add_songs, | ||
| sds * | error | ||
| ) |
Fills the jukebox queue and add songs to the mpd queue
| mympd_worker_state | pointer to mpd worker state |
| queue_list | list to check uniq constraint against |
| add_songs | number of songs to add |
| error | pointer to allocates sds for error message |