浏览代码

adjust default library monitor behavior

Luke Pulverenti 9 年之前
父节点
当前提交
1278e9396f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs

+ 1 - 1
MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs

@@ -160,7 +160,7 @@ namespace MediaBrowser.Server.Implementations.IO
                 switch (ConfigurationManager.Configuration.EnableLibraryMonitor)
                 {
                     case AutoOnOff.Auto:
-                        return _appHost.SupportsLibraryMonitor;
+                        return Environment.OSVersion.Platform == PlatformID.Win32NT;
                     case AutoOnOff.Enabled:
                         return true;
                     default: