aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/EntryPoints/StartupWizard.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-12-01 12:03:40 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-12-01 12:03:40 -0500
commitd7a1a87009eed638d28d070e6a47c8a5bee38c2e (patch)
tree9b5a83bcc6e41d893bb252c2595662bfdd1cbb80 /Emby.Server.Implementations/EntryPoints/StartupWizard.cs
parent5ca1b96c6f9afd8b6fc5e05abd984f5b78ec5696 (diff)
reduce work done by system info endpoints
Diffstat (limited to 'Emby.Server.Implementations/EntryPoints/StartupWizard.cs')
-rw-r--r--Emby.Server.Implementations/EntryPoints/StartupWizard.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/StartupWizard.cs b/Emby.Server.Implementations/EntryPoints/StartupWizard.cs
index 8d1355795..746edf9e7 100644
--- a/Emby.Server.Implementations/EntryPoints/StartupWizard.cs
+++ b/Emby.Server.Implementations/EntryPoints/StartupWizard.cs
@@ -41,7 +41,12 @@ namespace Emby.Server.Implementations.EntryPoints
}
else if (_config.Configuration.IsStartupWizardCompleted)
{
- BrowserLauncher.OpenDashboardPage("index.html", _appHost);
+ var options = ((ApplicationHost)_appHost).StartupOptions;
+
+ if (!options.ContainsOption("-service") && !options.ContainsOption("-nobrowser"))
+ {
+ BrowserLauncher.OpenDashboardPage("index.html", _appHost);
+ }
}
}