Browse Source

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
Anthony Lavado 6 years ago
parent
commit
34ab99caf1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Server.Implementations/ApplicationHost.cs

+ 1 - 1
Emby.Server.Implementations/ApplicationHost.cs

@@ -1425,7 +1425,6 @@ namespace Emby.Server.Implementations
                 HasPendingRestart = HasPendingRestart,
                 HasPendingRestart = HasPendingRestart,
                 IsShuttingDown = IsShuttingDown,
                 IsShuttingDown = IsShuttingDown,
                 Version = ApplicationVersion,
                 Version = ApplicationVersion,
-                ProductName = ApplicationProductName,
                 WebSocketPortNumber = HttpPort,
                 WebSocketPortNumber = HttpPort,
                 CompletedInstallations = InstallationManager.CompletedInstallations.ToArray(),
                 CompletedInstallations = InstallationManager.CompletedInstallations.ToArray(),
                 Id = SystemId,
                 Id = SystemId,
@@ -1482,6 +1481,7 @@ namespace Emby.Server.Implementations
             return new PublicSystemInfo
             return new PublicSystemInfo
             {
             {
                 Version = ApplicationVersion,
                 Version = ApplicationVersion,
+                ProductName = ApplicationProductName,
                 Id = SystemId,
                 Id = SystemId,
                 OperatingSystem = OperatingSystem.Id.ToString(),
                 OperatingSystem = OperatingSystem.Id.ToString(),
                 WanAddress = wanAddress,
                 WanAddress = wanAddress,