hide library monitor from certain operating systems

This commit is contained in:
Luke Pulverenti
2015-10-03 14:13:53 -04:00
parent 63b218be44
commit 0ee844dd46
7 changed files with 39 additions and 5 deletions

View File

@@ -260,6 +260,11 @@ namespace MediaBrowser.Server.Startup.Common
get { return NativeApp.SupportsRunningAsService; }
}
public bool SupportsLibraryMonitor
{
get { return NativeApp.SupportsLibraryMonitor; }
}
/// <summary>
/// Gets the name.
/// </summary>
@@ -1072,7 +1077,7 @@ namespace MediaBrowser.Server.Startup.Common
SupportsRunningAsService = SupportsRunningAsService,
ServerName = FriendlyName,
LocalAddress = LocalApiUrl,
SupportsSync = true
SupportsLibraryMonitor = SupportsLibraryMonitor
};
}