From 16e4d4599af157f94883412d050b792b97c116f6 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 5 Sep 2015 13:19:13 -0400 Subject: [PATCH] fix directory browser in startup wizard --- MediaBrowser.Api/System/SystemService.cs | 3 ++- MediaBrowser.Model/System/PublicSystemInfo.cs | 6 ++++++ MediaBrowser.Model/System/SystemInfo.cs | 11 +++-------- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/MediaBrowser.Api/System/SystemService.cs b/MediaBrowser.Api/System/SystemService.cs index 0a49cf47cf..aa12269019 100644 --- a/MediaBrowser.Api/System/SystemService.cs +++ b/MediaBrowser.Api/System/SystemService.cs @@ -178,7 +178,8 @@ namespace MediaBrowser.Api.System ServerName = result.ServerName, Version = result.Version, LocalAddress = result.LocalAddress, - WanAddress = result.WanAddress + WanAddress = result.WanAddress, + OperatingSystem = result.OperatingSystem }; return ToOptimizedResult(publicInfo); diff --git a/MediaBrowser.Model/System/PublicSystemInfo.cs b/MediaBrowser.Model/System/PublicSystemInfo.cs index 3afe72e818..b9a3260b01 100644 --- a/MediaBrowser.Model/System/PublicSystemInfo.cs +++ b/MediaBrowser.Model/System/PublicSystemInfo.cs @@ -26,6 +26,12 @@ namespace MediaBrowser.Model.System /// The version. public string Version { get; set; } + /// + /// Gets or sets the operating sytem. + /// + /// The operating sytem. + public string OperatingSystem { get; set; } + /// /// Gets or sets the id. /// diff --git a/MediaBrowser.Model/System/SystemInfo.cs b/MediaBrowser.Model/System/SystemInfo.cs index 094c4fda62..c8209baa85 100644 --- a/MediaBrowser.Model/System/SystemInfo.cs +++ b/MediaBrowser.Model/System/SystemInfo.cs @@ -8,11 +8,6 @@ namespace MediaBrowser.Model.System /// public class SystemInfo : PublicSystemInfo { - /// - /// Gets or sets the operating sytem. - /// - /// The operating sytem. - public string OperatingSystem { get; set; } /// /// Gets or sets the display name of the operating system. /// @@ -30,7 +25,7 @@ namespace MediaBrowser.Model.System /// /// true if [supports running as service]; otherwise, false. public bool SupportsRunningAsService { get; set; } - + /// /// Gets or sets the mac address. /// @@ -108,7 +103,7 @@ namespace MediaBrowser.Model.System /// /// The cache path. public string CachePath { get; set; } - + /// /// Gets or sets the log path. /// @@ -120,7 +115,7 @@ namespace MediaBrowser.Model.System /// /// The internal metadata path. public string InternalMetadataPath { get; set; } - + /// /// Gets or sets the transcoding temporary path. ///