Tag: move configuration code to TagConfig.cxx
Allow using the Tag.cxx library without the Config library.
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include "Volume.hxx"
|
||||
#include "OutputAll.hxx"
|
||||
#include "tag/Tag.hxx"
|
||||
#include "tag/TagConfig.hxx"
|
||||
#include "replay_gain_config.h"
|
||||
#include "Idle.hxx"
|
||||
#include "SignalHandlers.hxx"
|
||||
@@ -376,6 +377,7 @@ int mpd_main(int argc, char *argv[])
|
||||
|
||||
stats_global_init();
|
||||
tag_lib_init();
|
||||
TagLoadConfig();
|
||||
|
||||
if (!log_init(options.verbose, options.log_stderr, error)) {
|
||||
g_warning("%s", error.GetMessage());
|
||||
|
Reference in New Issue
Block a user