Skip to content

The Free Software Media System - Server Backend & API

Merge pull request #15246 from JPVenson/feature/AddVersionDisplayStartupUi

Bond-0093b5bdc6bc2b7
diff --cc Jellyfin.Server/ServerSetupApp/SetupServer.cs
index 00d9fcc025,c04f75d2e0..4340969a30
--- a/Jellyfin.Server/ServerSetupApp/SetupServer.cs
+++ b/Jellyfin.Server/ServerSetupApp/SetupServer.cs
@@@ -249,8 -249,8 +249,9 @@@ public sealed class SetupServer : IDisp
{
{ "isInReportingMode", _isUnhealthy },
{ "retryValue", retryAfterValue },
+ { "version", typeof(Emby.Server.Implementations.ApplicationHost).Assembly.GetName().Version! },
{ "logs", startupLogEntries },
+ { "networkManagerReady", networkManager is not null },
{ "localNetworkRequest", networkManager is not null && context.Connection.RemoteIpAddress is not null && networkManager.IsInLocalNetwork(context.Connection.RemoteIpAddress) }
},
new ByteCounterStream(context.Response.BodyWriter.AsStream(), IODefaults.FileStreamBufferSize, true, _startupUiRenderer.ParserOptions))