aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-05 18:23:15 +0200
committerMax Kellermann <max@duempel.org>2013-09-05 18:27:08 +0200
commit2b676dc5fcd7b3a472d4c14f228ea4b7969b4e9e (patch)
tree5501a0f0814abc225b1601a3ca24c6572f60def4 /src/Main.cxx
parent3f267b1795d68e660af9ec1678909a6102102d7d (diff)
downloadmpd-2b676dc5fcd7b3a472d4c14f228ea4b7969b4e9e.tar.gz
mpd-2b676dc5fcd7b3a472d4c14f228ea4b7969b4e9e.tar.xz
mpd-2b676dc5fcd7b3a472d4c14f228ea4b7969b4e9e.zip
Tag: move configuration code to TagConfig.cxx
Allow using the Tag.cxx library without the Config library.
Diffstat (limited to '')
-rw-r--r--src/Main.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index 511e136aa..9ded73be5 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -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());