add system id to remote calls

This commit is contained in:
Luke Pulverenti
2014-09-06 13:46:09 -04:00
parent 392699404b
commit 41cabc7bd3
42 changed files with 4197 additions and 3418 deletions

View File

@@ -904,20 +904,6 @@ namespace MediaBrowser.ServerApplication
}
}
private DeviceId _serverId;
public string ServerId
{
get
{
if (_serverId == null)
{
_serverId = new DeviceId(ApplicationPaths, LogManager.GetLogger("ServerId"));
}
return _serverId.Value;
}
}
/// <summary>
/// Gets the system status.
/// </summary>
@@ -934,7 +920,7 @@ namespace MediaBrowser.ServerApplication
FailedPluginAssemblies = FailedAssemblies.ToList(),
InProgressInstallations = InstallationManager.CurrentInstallations.Select(i => i.Item1).ToList(),
CompletedInstallations = InstallationManager.CompletedInstallations.ToList(),
Id = ServerId,
Id = SystemId,
ProgramDataPath = ApplicationPaths.ProgramDataPath,
LogPath = ApplicationPaths.LogDirectoryPath,
ItemsByNamePath = ApplicationPaths.ItemsByNamePath,