diff options
| author | crobibero <cody@robibe.ro> | 2020-09-05 09:20:58 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-09-05 09:20:58 -0600 |
| commit | 9a74ace84bed207952c0b34a820dcb231bb8b805 (patch) | |
| tree | 1c2eb0fb770680606ad7f2a0285561e2f073c2a6 | |
| parent | 6d154041b9e456ab97e1066f525e4d9732fb672a (diff) | |
Add flag for startup completed
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 3 | ||||
| -rw-r--r-- | MediaBrowser.Model/System/PublicSystemInfo.cs | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index c37e87d96..7b70be88f 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -1137,7 +1137,8 @@ namespace Emby.Server.Implementations Id = SystemId, OperatingSystem = OperatingSystem.Id.ToString(), ServerName = FriendlyName, - LocalAddress = localAddress + LocalAddress = localAddress, + StartupCompleted = CoreStartupHasCompleted }; } diff --git a/MediaBrowser.Model/System/PublicSystemInfo.cs b/MediaBrowser.Model/System/PublicSystemInfo.cs index b6196a43f..012001aea 100644 --- a/MediaBrowser.Model/System/PublicSystemInfo.cs +++ b/MediaBrowser.Model/System/PublicSystemInfo.cs @@ -39,5 +39,11 @@ namespace MediaBrowser.Model.System /// </summary> /// <value>The id.</value> public string Id { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether startup is completed. + /// </summary> + /// <value>The startup completion status.</value> + public bool StartupCompleted { get; set; } } } |
