From 2b676dc5fcd7b3a472d4c14f228ea4b7969b4e9e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Sep 2013 18:23:15 +0200 Subject: Tag: move configuration code to TagConfig.cxx Allow using the Tag.cxx library without the Config library. --- src/Main.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Main.cxx') 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()); -- cgit v1.2.3