settings: fix columns generation without configuration file (ticket #3490)

This commit is contained in:
Andrzej Rybczak
2012-07-16 00:20:25 +02:00
parent 4475902eb9
commit 6126def6c5
3 changed files with 8 additions and 1 deletions

View File

@@ -249,6 +249,8 @@ int main(int argc, char **argv)
Config.Read();
Key.Read();
Config.GenerateColumns();
if (getenv("MPD_HOST"))
Mpd.SetHostname(getenv("MPD_HOST"));
if (getenv("MPD_PORT"))