11#ifndef MYMPD_JUKEBOX_STATE_H
12#define MYMPD_JUKEBOX_STATE_H
14#include "dist/sds/sds.h"
void jukebox_state_free(struct t_jukebox_state *jukebox_state)
Definition jukebox_state.c:44
void jukebox_state_copy(struct t_jukebox_state *src, struct t_jukebox_state *dst)
Definition jukebox_state.c:57
void jukebox_state_default(struct t_jukebox_state *jukebox_state)
Definition jukebox_state.c:22
jukebox_modes
Definition jukebox.h:21
Linked list implementation.
Definition jukebox_state.h:22
struct t_list * queue
the jukebox queue itself
Definition jukebox_state.h:28
sds playlist
playlist from which the jukebox queue is generated
Definition jukebox_state.h:24
bool ignore_hated
ignores hated songs for the jukebox mode
Definition jukebox_state.h:29
sds last_error
last jukebox error message
Definition jukebox_state.h:35
sds filter_exclude
mpd search filter to exclude songs / albums
Definition jukebox_state.h:31
unsigned queue_length
how many songs should the mpd queue have
Definition jukebox_state.h:25
bool autostart
Run jukebox after MPD connection is established.
Definition jukebox_state.h:36
struct t_mympd_mpd_tags uniq_tag
single tag for the jukebox uniq constraint
Definition jukebox_state.h:27
unsigned min_song_duration
minimum song duration
Definition jukebox_state.h:32
sds filter_include
mpd search filter to include songs / albums
Definition jukebox_state.h:30
enum jukebox_modes mode
the jukebox mode
Definition jukebox_state.h:23
unsigned last_played
only add songs with last_played state older than seconds from now
Definition jukebox_state.h:26
unsigned max_song_duration
maximum song duration
Definition jukebox_state.h:33
bool filling
indication flag for filling jukebox thread
Definition jukebox_state.h:34