Separate out our functionality for reading from the database into db/loaders.
This commit is contained in:
parent
7c7fe35b49
commit
a11ba1ec77
5 changed files with 290 additions and 248 deletions
|
@ -58,43 +58,6 @@ void koto_library_set_path(
|
|||
gchar * path
|
||||
);
|
||||
|
||||
int process_artists(
|
||||
void * data,
|
||||
int num_columns,
|
||||
char ** fields,
|
||||
char ** column_names
|
||||
);
|
||||
|
||||
int process_albums(
|
||||
void * data,
|
||||
int num_columns,
|
||||
char ** fields,
|
||||
char ** column_names
|
||||
);
|
||||
|
||||
int process_playlists(
|
||||
void * data,
|
||||
int num_columns,
|
||||
char ** fields,
|
||||
char ** column_names
|
||||
);
|
||||
|
||||
int process_playlists_tracks(
|
||||
void * data,
|
||||
int num_columns,
|
||||
char ** fields,
|
||||
char ** column_names
|
||||
);
|
||||
|
||||
int process_tracks(
|
||||
void * data,
|
||||
int num_columns,
|
||||
char ** fields,
|
||||
char ** column_names
|
||||
);
|
||||
|
||||
void read_from_db(KotoLibrary * self);
|
||||
|
||||
void start_indexing(KotoLibrary * self);
|
||||
|
||||
void index_folder(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue