diff options
| author | MrAnks <iangavin35@gmail.com> | 2014-11-07 15:31:21 +0000 |
|---|---|---|
| committer | MrAnks <iangavin35@gmail.com> | 2014-11-07 15:31:21 +0000 |
| commit | 360f4e5cbd5bf66c0be99894c5239037b428605d (patch) | |
| tree | 8121ed1527fd09f3a46c3f21b2cccc206b74618a | |
| parent | fba1ed80629410b5f16c8da38a1e408bee55f09b (diff) | |
Update MainStartup.cs
Hide the start up splash screen if nosplash is given as a command line parameter.
| -rw-r--r-- | MediaBrowser.ServerApplication/MainStartup.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs index c47dc2155..1cbe8676c 100644 --- a/MediaBrowser.ServerApplication/MainStartup.cs +++ b/MediaBrowser.ServerApplication/MainStartup.cs @@ -224,7 +224,7 @@ namespace MediaBrowser.ServerApplication if (!runService) { - ShowSplashScreen(_appHost.ApplicationVersion, initProgress, logManager.GetLogger("Splash")); + if (!options.ContainsOption("nosplash")) ShowSplashScreen(_appHost.ApplicationVersion, initProgress, logManager.GetLogger("Splash")); // Not crazy about this but it's the only way to suppress ffmpeg crash dialog boxes SetErrorMode(ErrorModes.SEM_FAILCRITICALERRORS | ErrorModes.SEM_NOALIGNMENTFAULTEXCEPT | |
