1 #ifndef _DYN_LIST_PLUGIN_BLACKLIST
2 #define _DYN_LIST_PLUGIN_BLACKLIST
4 #include <gmpc/plugin.h>
6 void set_active_blacklist(gboolean l_value
);
7 gboolean
get_active_blacklist();
9 gboolean
is_blacklisted(const mpd_Song
* l_song
);
10 gboolean
is_blacklisted_single(const GSList
* l_list
, const gchar
* l_value
);
11 gboolean
is_blacklisted_tuple(const GSList
* l_list
, const gchar
* l_artist
, const gchar
* l_name
);
13 gboolean
is_blacklisted_genre(const gchar
* l_genre
);
14 gboolean
is_blacklisted_artist(const gchar
* l_artist
);
15 gboolean
is_blacklisted_album(const gchar
* l_artist
, const gchar
* l_album
);
16 gboolean
is_blacklisted_song(const gchar
* l_artist
, const gchar
* l_title
);
18 void create_blacklists();
19 gboolean
create_blacklists_search(MpdData
** l_out_lists
, const gchar
* l_blacklist
);
20 void check_for_reload();
21 void reload_blacklists();
23 void load_blacklists();
24 void load_blacklist_genre();
25 void load_blacklist_artist();
26 void load_blacklist_album();
27 void load_blacklist_song();
29 void init_blacklists();
30 void free_blacklists();
31 void free_blacklists_tuple(GSList
* l_list
);
35 /* vim:set ts=4 sw=4: */