if (g_settings.UsingLoginScreen())
g_windowManager.ActivateWindow(WINDOW_LOGIN_SCREEN);
else
+ {
+#ifdef HAS_JSONRPC
+ CJSONRPC::Initialize();
+#endif
g_windowManager.ActivateWindow(g_SkinInfo->GetFirstWindow());
+ }
g_sysinfo.Refresh();
{
UpdateLibraries();
#ifdef HAS_PYTHON
- g_pythonParser.m_bLogin = true;
+ g_pythonParser.m_bLogin = true;
#endif
}
CCrystalHD::GetInstance();
#endif
-#ifdef HAS_JSONRPC
- CJSONRPC::Initialize();
-#endif
-
CAddonMgr::Get().StartServices(false);
CLog::Log(LOGNOTICE, "initialize done");