update library monitor
This commit is contained in:
parent
e5fdf31ec4
commit
2fdafcaee6
|
@ -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:
|
||||
|
|
|
@ -119,11 +119,6 @@ namespace MediaBrowser.Server.Mono.Native
|
|||
{
|
||||
get
|
||||
{
|
||||
if (StartupOptions.ContainsOption("-allowrealtimemonitor"))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user