update library monitor

pull/702/head
Luke Pulverenti 9 years ago
parent e5fdf31ec4
commit 2fdafcaee6

@ -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:

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

Loading…
Cancel
Save