aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-09-05 09:20:58 -0600
committercrobibero <cody@robibe.ro>2020-09-05 09:20:58 -0600
commit9a74ace84bed207952c0b34a820dcb231bb8b805 (patch)
tree1c2eb0fb770680606ad7f2a0285561e2f073c2a6
parent6d154041b9e456ab97e1066f525e4d9732fb672a (diff)
Add flag for startup completed
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs3
-rw-r--r--MediaBrowser.Model/System/PublicSystemInfo.cs6
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; }
}
}