diff options
| author | Patrick Barron <barronpm@gmail.com> | 2023-01-26 03:05:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-26 09:05:00 +0100 |
| commit | 63b013256224a747acba0b5523aad5fbeb3f254e (patch) | |
| tree | 49accb935323e75c69691922f17d20517ef20cd5 /Jellyfin.Server/Startup.cs | |
| parent | 6b006a576dc5b708ec57615ea8b65586a6183ee2 (diff) | |
Remove OS information from System Info (#9175)
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'Jellyfin.Server/Startup.cs')
| -rw-r--r-- | Jellyfin.Server/Startup.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Server/Startup.cs b/Jellyfin.Server/Startup.cs index 7abd2fbef..155f9fc8c 100644 --- a/Jellyfin.Server/Startup.cs +++ b/Jellyfin.Server/Startup.cs @@ -4,6 +4,7 @@ using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Mime; +using System.Runtime.InteropServices; using System.Text; using Jellyfin.Api.Middleware; using Jellyfin.MediaEncoding.Hls.Extensions; @@ -108,7 +109,7 @@ namespace Jellyfin.Server string.Format( CultureInfo.InvariantCulture, "{0}/{1} UPnP/1.0 {2}/{3}", - MediaBrowser.Common.System.OperatingSystem.Name, + Environment.OSVersion.Platform, Environment.OSVersion, _serverApplicationHost.Name, _serverApplicationHost.ApplicationVersionString)); |
