diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-07-23 20:54:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-23 20:54:13 +0200 |
| commit | 5a9bd712b34c0c01e82a9ce6c7c1e273044e6986 (patch) | |
| tree | a3fd41ac7bfb1949d25c8c0712b4e8d6d13e3c09 /Jellyfin.Api/Helpers/HlsHelpers.cs | |
| parent | 0e2a6f8216e0a675b43cf2919fb1d57b46f14972 (diff) | |
| parent | 8528e9bddb4c2dd9e1e3294649e39c7ec609bdf5 (diff) | |
Merge pull request #6296 from Bond-009/oscheck
Improve platform checks
Diffstat (limited to 'Jellyfin.Api/Helpers/HlsHelpers.cs')
| -rw-r--r-- | Jellyfin.Api/Helpers/HlsHelpers.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Jellyfin.Api/Helpers/HlsHelpers.cs b/Jellyfin.Api/Helpers/HlsHelpers.cs index d0666034e..d1cdaf867 100644 --- a/Jellyfin.Api/Helpers/HlsHelpers.cs +++ b/Jellyfin.Api/Helpers/HlsHelpers.cs @@ -99,8 +99,7 @@ namespace Jellyfin.Api.Helpers return fmp4InitFileName; } - var isWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows); - if (isWindows) + if (OperatingSystem.IsWindows()) { // on Windows // #EXT-X-MAP:URI="X:\transcodes\prefix-1.mp4" |
