diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-09-06 13:46:09 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-09-06 13:46:09 -0400 |
| commit | 41cabc7bd37eadf2752b50a6b5090af5dcf10035 (patch) | |
| tree | 650451ac7d7871202e3264cc7964eb15b4e75cd6 /MediaBrowser.ServerApplication | |
| parent | 392699404b8e7c530314d2a164b43101a672bf13 (diff) | |
add system id to remote calls
Diffstat (limited to 'MediaBrowser.ServerApplication')
| -rw-r--r-- | MediaBrowser.ServerApplication/ApplicationHost.cs | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.cs index a532e58a62..5eca8b3e8e 100644 --- a/MediaBrowser.ServerApplication/ApplicationHost.cs +++ b/MediaBrowser.ServerApplication/ApplicationHost.cs @@ -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, |
