update dialogs

This commit is contained in:
Luke Pulverenti 2016-09-09 12:58:08 -04:00
parent 906546ca5e
commit e4357a17f7
2 changed files with 9 additions and 1 deletions

View File

@ -22,7 +22,6 @@ namespace MediaBrowser.Model.Configuration
EncodingThreadCount = -1; EncodingThreadCount = -1;
VaapiDevice = "/dev/dri/card0"; VaapiDevice = "/dev/dri/card0";
H264Crf = 23; H264Crf = 23;
H264Preset = "superfast";
} }
} }
} }

View File

@ -325,6 +325,15 @@ namespace MediaBrowser.Server.Startup.Common
await MediaEncoder.Init().ConfigureAwait(false); await MediaEncoder.Init().ConfigureAwait(false);
if (string.IsNullOrWhiteSpace(MediaEncoder.EncoderPath))
{
if (ServerConfigurationManager.Configuration.IsStartupWizardCompleted)
{
ServerConfigurationManager.Configuration.IsStartupWizardCompleted = false;
ServerConfigurationManager.SaveConfiguration();
}
}
Logger.Info("ServerId: {0}", SystemId); Logger.Info("ServerId: {0}", SystemId);
Logger.Info("Core startup complete"); Logger.Info("Core startup complete");
HttpServer.GlobalResponse = null; HttpServer.GlobalResponse = null;