Skip to content

The Free Software Media System - Server Backend & API

Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser

Luke Pulverentibb13921b82d1
diff --cc MediaBrowser.ServerApplication/MainStartup.cs
index d96b0a0054,4c81716ed5..8a7e78749e
--- a/MediaBrowser.ServerApplication/MainStartup.cs
+++ b/MediaBrowser.ServerApplication/MainStartup.cs
@@@ -218,13 -224,14 +224,14 @@@ namespace MediaBrowser.ServerApplicatio
// Not crazy about this but it's the only way to suppress ffmpeg crash dialog boxes
SetErrorMode(ErrorModes.SEM_FAILCRITICALERRORS | ErrorModes.SEM_NOALIGNMENTFAULTEXCEPT |
ErrorModes.SEM_NOGPFAULTERRORBOX | ErrorModes.SEM_NOOPENFILEERRORBOX);
- }
-
-
- var task = _appHost.Init(initProgress);
- task = task.ContinueWith(new Action<Task>(a => _appHost.RunStartupTasks()));
+ }
+
++
+ var task = _appHost.Init(initProgress);
+ task = task.ContinueWith(new Action<Task>(a => _appHost.RunStartupTasks()));
if (runService)
- {
+ {
StartService(logManager);
}
else