diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 449a9f747..fa2bc3ac6 100644 --- a/src/main.c +++ b/src/main.c @@ -54,6 +54,10 @@ #include "songvec.h" #include "tag_pool.h" +#ifdef ENABLE_SQLITE +#include "sticker.h" +#endif + #ifdef ENABLE_ARCHIVE #include "archive_list.h" #endif @@ -235,6 +239,10 @@ int main(int argc, char *argv[]) openDB(&options, argv[0]); +#ifdef ENABLE_SQLITE + sticker_global_init(config_get_path(CONF_STICKER_FILE)); +#endif + command_init(); initialize_decoder_and_player(); initAudioConfig(); @@ -278,6 +286,10 @@ int main(int argc, char *argv[]) g_debug("db_finish took %f seconds", ((float)(clock()-start))/CLOCKS_PER_SEC); +#ifdef ENABLE_SQLITE + sticker_global_finish(); +#endif + notify_deinit(&main_notify); event_pipe_deinit(); |