Rename More Sonarr References

This commit is contained in:
Qstick 2017-09-26 22:06:05 -04:00
parent f69559e4da
commit 5003cd8a14
31 changed files with 108 additions and 113 deletions

View file

@ -86,8 +86,8 @@ namespace NzbDrone.Update.UpdateEngine
var appType = _detectApplicationType.GetAppType();
_processProvider.FindProcessByName(ProcessProvider.NZB_DRONE_CONSOLE_PROCESS_NAME);
_processProvider.FindProcessByName(ProcessProvider.NZB_DRONE_PROCESS_NAME);
_processProvider.FindProcessByName(ProcessProvider.LIDARR_CONSOLE_PROCESS_NAME);
_processProvider.FindProcessByName(ProcessProvider.LIDARR_PROCESS_NAME);
if (OsInfo.IsWindows)
{
@ -101,7 +101,7 @@ namespace NzbDrone.Update.UpdateEngine
if (OsInfo.IsWindows)
{
if (_processProvider.Exists(ProcessProvider.NZB_DRONE_CONSOLE_PROCESS_NAME) || _processProvider.Exists(ProcessProvider.NZB_DRONE_PROCESS_NAME))
if (_processProvider.Exists(ProcessProvider.LIDARR_CONSOLE_PROCESS_NAME) || _processProvider.Exists(ProcessProvider.LIDARR_PROCESS_NAME))
{
_logger.Error("Lidarr was restarted prematurely by external process.");
return;
@ -141,14 +141,14 @@ namespace NzbDrone.Update.UpdateEngine
{
System.Threading.Thread.Sleep(1000);
if (_processProvider.Exists(ProcessProvider.NZB_DRONE_PROCESS_NAME))
if (_processProvider.Exists(ProcessProvider.LIDARR_PROCESS_NAME))
{
_logger.Info("Lidarr was restarted by external process.");
break;
}
}
if (!_processProvider.Exists(ProcessProvider.NZB_DRONE_PROCESS_NAME))
if (!_processProvider.Exists(ProcessProvider.LIDARR_PROCESS_NAME))
{
_startNzbDrone.Start(appType, installationFolder);
}