The Free Software Media System - Server Backend & API
update library monitor
Luke Pulverenti2fdafcaee6b1
diff --git a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.csindex 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.csindex 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;}}