mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 07:10:34 +02:00
#156 - Allow server to run as a service
This commit is contained in:
parent
29fd559f0a
commit
d564dd6786
|
@ -14,6 +14,12 @@ namespace MediaBrowser.Model.System
|
||||||
/// <value>The version.</value>
|
/// <value>The version.</value>
|
||||||
public string Version { get; set; }
|
public string Version { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the operating sytem.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The operating sytem.</value>
|
||||||
|
public string OperatingSystem { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the mac address.
|
/// Gets or sets the mac address.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -582,7 +582,8 @@ namespace MediaBrowser.ServerApplication
|
||||||
Id = _systemId,
|
Id = _systemId,
|
||||||
ProgramDataPath = ApplicationPaths.ProgramDataPath,
|
ProgramDataPath = ApplicationPaths.ProgramDataPath,
|
||||||
MacAddress = GetMacAddress(),
|
MacAddress = GetMacAddress(),
|
||||||
HttpServerPortNumber = ServerConfigurationManager.Configuration.HttpServerPortNumber
|
HttpServerPortNumber = ServerConfigurationManager.Configuration.HttpServerPortNumber,
|
||||||
|
OperatingSystem = Environment.OSVersion.ToString()
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue