diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-10-03 14:13:53 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-10-03 14:13:53 -0400 |
| commit | 0ee844dd46f98a009c656afb3ca8618902a725d8 (patch) | |
| tree | 00c46f351256c074c249d64078a2f6c276a6f3a0 /MediaBrowser.Server.Startup.Common/ApplicationHost.cs | |
| parent | 63b218be44656a7ff81b22441941611178d26847 (diff) | |
hide library monitor from certain operating systems
Diffstat (limited to 'MediaBrowser.Server.Startup.Common/ApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/ApplicationHost.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs index e63adaebd..aa4f5a040 100644 --- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs +++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs @@ -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 }; } |
