Index: programs/mythfrontend/main.cpp =================================================================== --- programs/mythfrontend/main.cpp (revision 18681) +++ programs/mythfrontend/main.cpp (working copy) @@ -1315,6 +1315,11 @@ LanguageSettings::prompt(); + // this direct connect is only necessary, if the user wants to use the + // auto shutdown/wakeup feature + if (gContext->GetNumSetting("idleTimeoutSecs",0) > 0) + gContext->ConnectToMasterServer(true); + if (!checkTimeZone()) { // Check for different time zones, different offsets, different times @@ -1345,11 +1350,6 @@ else xbox = NULL; - // this direct connect is only necessary, if the user wants to use the - // auto shutdown/wakeup feature - if (gContext->GetNumSetting("idleTimeoutSecs",0) > 0) - gContext->ConnectToMasterServer(); - if (pluginname != "") { if (pmanager->run_plugin(pluginname))