From 2fdafcaee6b1222edc368909876272f960d57c2a Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 5 Oct 2015 21:22:56 -0400 Subject: [PATCH] update library monitor --- MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs | 7 +------ MediaBrowser.Server.Mono/Native/BaseMonoApp.cs | 5 ----- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs index f4a3ba8df5..c620cfdb50 100644 --- a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs +++ b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs @@ -157,15 +157,10 @@ namespace MediaBrowser.Server.Implementations.IO { get { - if (!_appHost.SupportsLibraryMonitor) - { - return false; - } - switch (ConfigurationManager.Configuration.EnableLibraryMonitor) { case AutoOnOff.Auto: - return Environment.OSVersion.Platform == PlatformID.Win32NT; + return _appHost.SupportsLibraryMonitor; case AutoOnOff.Enabled: return true; default: diff --git a/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs b/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs index 8d22dd6bdc..ba6d7ad1fd 100644 --- a/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs +++ b/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs @@ -119,11 +119,6 @@ namespace MediaBrowser.Server.Mono.Native { get { - if (StartupOptions.ContainsOption("-allowrealtimemonitor")) - { - return true; - } - return false; } }