1 | Index: programs/mythfrontend/main.cpp
|
---|
2 | ===================================================================
|
---|
3 | --- programs/mythfrontend/main.cpp (revision 18681)
|
---|
4 | +++ programs/mythfrontend/main.cpp (working copy)
|
---|
5 | @@ -1315,6 +1315,11 @@
|
---|
6 |
|
---|
7 | LanguageSettings::prompt();
|
---|
8 |
|
---|
9 | + // this direct connect is only necessary, if the user wants to use the
|
---|
10 | + // auto shutdown/wakeup feature
|
---|
11 | + if (gContext->GetNumSetting("idleTimeoutSecs",0) > 0)
|
---|
12 | + gContext->ConnectToMasterServer(true);
|
---|
13 | +
|
---|
14 | if (!checkTimeZone())
|
---|
15 | {
|
---|
16 | // Check for different time zones, different offsets, different times
|
---|
17 | @@ -1345,11 +1350,6 @@
|
---|
18 | else
|
---|
19 | xbox = NULL;
|
---|
20 |
|
---|
21 | - // this direct connect is only necessary, if the user wants to use the
|
---|
22 | - // auto shutdown/wakeup feature
|
---|
23 | - if (gContext->GetNumSetting("idleTimeoutSecs",0) > 0)
|
---|
24 | - gContext->ConnectToMasterServer();
|
---|
25 | -
|
---|
26 | if (pluginname != "")
|
---|
27 | {
|
---|
28 | if (pmanager->run_plugin(pluginname))
|
---|