update: don't export updateDirectory()
If the user requests database update during startup, call directory_update_init(). This should be changed to fully asynchronous update later. For this to work, main_notify has to be initialized before db_init().
This commit is contained in:
@@ -412,6 +412,8 @@ int main(int argc, char *argv[])
|
||||
initPlaylist();
|
||||
decoder_plugin_init_all();
|
||||
|
||||
init_main_notify();
|
||||
|
||||
openDB(&options, argv[0]);
|
||||
|
||||
initCommands();
|
||||
@@ -429,7 +431,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
daemonize(&options);
|
||||
|
||||
init_main_notify();
|
||||
setup_log_output(options.stdOutput);
|
||||
|
||||
initSigHandlers();
|
||||
|
||||
Reference in New Issue
Block a user