aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs7
-rw-r--r--MediaBrowser.Server.Mono/Native/BaseMonoApp.cs5
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;
}
}