The Free Software Media System - Server Backend & API
#156 - Allow server to run as a service
Luke Pulverentid564dd67865d
diff --git a/MediaBrowser.Model/System/SystemInfo.cs b/MediaBrowser.Model/System/SystemInfo.csindex 9ef1618551..60d0564d83 100644--- a/MediaBrowser.Model/System/SystemInfo.cs+++ b/MediaBrowser.Model/System/SystemInfo.cs@@ -14,6 +14,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 mac address./// </summary>diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.csindex c60ec7f6dd..6f099e7bb5 100644--- a/MediaBrowser.ServerApplication/ApplicationHost.cs+++ b/MediaBrowser.ServerApplication/ApplicationHost.cs@@ -582,7 +582,8 @@ namespace MediaBrowser.ServerApplicationId = _systemId,ProgramDataPath = ApplicationPaths.ProgramDataPath,MacAddress = GetMacAddress(),- HttpServerPortNumber = ServerConfigurationManager.Configuration.HttpServerPortNumber+ HttpServerPortNumber = ServerConfigurationManager.Configuration.HttpServerPortNumber,+ OperatingSystem = Environment.OSVersion.ToString()};}