diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-10-05 21:22:56 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-10-05 21:22:56 -0400 |
| commit | 2fdafcaee6b1222edc368909876272f960d57c2a (patch) | |
| tree | 16c36a16654d8c9d6cc32240d92501116421c020 | |
| parent | e5fdf31ec43cf41ffc34fa69e328242dcc482975 (diff) | |
update library monitor
| -rw-r--r-- | MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs | 7 | ||||
| -rw-r--r-- | MediaBrowser.Server.Mono/Native/BaseMonoApp.cs | 5 |
2 files changed, 1 insertions, 11 deletions
diff --git a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs index f4a3ba8df..c620cfdb5 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 8d22dd6bd..ba6d7ad1f 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; } } |
