update library monitor

This commit is contained in:
Luke Pulverenti 2015-10-05 21:22:56 -04:00
parent e5fdf31ec4
commit 2fdafcaee6
2 changed files with 1 additions and 11 deletions

View File

@ -157,15 +157,10 @@ namespace MediaBrowser.Server.Implementations.IO
{ {
get get
{ {
if (!_appHost.SupportsLibraryMonitor)
{
return false;
}
switch (ConfigurationManager.Configuration.EnableLibraryMonitor) switch (ConfigurationManager.Configuration.EnableLibraryMonitor)
{ {
case AutoOnOff.Auto: case AutoOnOff.Auto:
return Environment.OSVersion.Platform == PlatformID.Win32NT; return _appHost.SupportsLibraryMonitor;
case AutoOnOff.Enabled: case AutoOnOff.Enabled:
return true; return true;
default: default:

View File

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