mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-29 20:08:27 +01:00
hide library monitor from certain operating systems
This commit is contained in:
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user