2
0
Luke Pulverenti 9 жил өмнө
parent
commit
2fdafcaee6

+ 1 - 6
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:

+ 0 - 5
MediaBrowser.Server.Mono/Native/BaseMonoApp.cs

@@ -119,11 +119,6 @@ namespace MediaBrowser.Server.Mono.Native
         {
             get
             {
-                if (StartupOptions.ContainsOption("-allowrealtimemonitor"))
-                {
-                    return true;    
-                }
-
                 return false;
             }
         }