Bläddra i källkod

fix directory browser in startup wizard

Luke Pulverenti 9 år sedan
förälder
incheckning
16e4d4599a

+ 2 - 1
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);

+ 6 - 0
MediaBrowser.Model/System/PublicSystemInfo.cs

@@ -26,6 +26,12 @@ namespace MediaBrowser.Model.System
         /// <value>The version.</value>
         public string Version { get; set; }
 
+        /// <summary>
+        /// Gets or sets the operating sytem.
+        /// </summary>
+        /// <value>The operating sytem.</value>
+        public string OperatingSystem { get; set; }
+
         /// <summary>
         /// Gets or sets the id.
         /// </summary>

+ 3 - 8
MediaBrowser.Model/System/SystemInfo.cs

@@ -8,11 +8,6 @@ namespace MediaBrowser.Model.System
     /// </summary>
     public class SystemInfo : PublicSystemInfo
     {
-        /// <summary>
-        /// Gets or sets the operating sytem.
-        /// </summary>
-        /// <value>The operating sytem.</value>
-        public string OperatingSystem { get; set; }
         /// <summary>
         /// Gets or sets the display name of the operating system.
         /// </summary>
@@ -30,7 +25,7 @@ namespace MediaBrowser.Model.System
         /// </summary>
         /// <value><c>true</c> if [supports running as service]; otherwise, <c>false</c>.</value>
         public bool SupportsRunningAsService { get; set; }
-        
+
         /// <summary>
         /// Gets or sets the mac address.
         /// </summary>
@@ -108,7 +103,7 @@ namespace MediaBrowser.Model.System
         /// </summary>
         /// <value>The cache path.</value>
         public string CachePath { get; set; }
-        
+
         /// <summary>
         /// Gets or sets the log path.
         /// </summary>
@@ -120,7 +115,7 @@ namespace MediaBrowser.Model.System
         /// </summary>
         /// <value>The internal metadata path.</value>
         public string InternalMetadataPath { get; set; }
-        
+
         /// <summary>
         /// Gets or sets the transcoding temporary path.
         /// </summary>