1 #ifndef __MAGNATUNE_H__
2 #define __MAGNATUNE_H__
4 void magnatune_db_destroy(void);
5 void magnatune_db_init();
6 void magnatune_db_open();
7 gboolean
magnatune_db_has_data();
8 MpdData
* magnatune_db_get_genre_list();
9 void magnatune_db_download_xml(ProgressCallback cb
, gpointer data
);
10 gchar
*magnatune_db_get_value(const char *artist
, const char *album
, int type
);
11 MpdData
* magnatune_db_get_album_list(char *wanted_genre
,char *wanted_artist
);
12 MpdData
* magnatune_db_get_artist_list(char *genre
);
14 GList
* magnatune_db_get_url_list(const char *wanted_genre
,const char *wanted_artist
, const char *wanted_album
);
15 MpdData
* magnatune_db_get_song_list(const char *wanted_genre
,const char *wanted_artist
, const char *wanted_album
);