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
};
}

View File

@@ -52,6 +52,12 @@ namespace MediaBrowser.Server.Startup.Common
/// <value><c>true</c> if [supports autorun at startup]; otherwise, <c>false</c>.</value>
bool SupportsAutoRunAtStartup { get; }
/// <summary>
/// Gets a value indicating whether [supports library monitor].
/// </summary>
/// <value><c>true</c> if [supports library monitor]; otherwise, <c>false</c>.</value>
bool SupportsLibraryMonitor { get; }
/// <summary>
/// Gets a value indicating whether this instance can self update.
/// </summary>