aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Lavado <anthony@lavado.ca>2019-04-16 01:16:02 -0400
committerAnthony Lavado <anthony@lavado.ca>2019-04-16 01:16:02 -0400
commit34ab99caf18ee862a1dc29a6afb83253db35c219 (patch)
treef77085f4f321bd94d884f4e5e1b0f1506648c6d7
parentb2f94c0e4015160ba3102cd6617397fc07c6ba35 (diff)
Move the ProductName to the public endpoint
Moves the ProductName field over from the private system/info point to the public one, for easier identification
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 05f8a8a5e..82042f5ca 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -1425,7 +1425,6 @@ namespace Emby.Server.Implementations
HasPendingRestart = HasPendingRestart,
IsShuttingDown = IsShuttingDown,
Version = ApplicationVersion,
- ProductName = ApplicationProductName,
WebSocketPortNumber = HttpPort,
CompletedInstallations = InstallationManager.CompletedInstallations.ToArray(),
Id = SystemId,
@@ -1482,6 +1481,7 @@ namespace Emby.Server.Implementations
return new PublicSystemInfo
{
Version = ApplicationVersion,
+ ProductName = ApplicationProductName,
Id = SystemId,
OperatingSystem = OperatingSystem.Id.ToString(),
WanAddress = wanAddress,