diff options
| author | David <daullmer@gmail.com> | 2020-07-22 19:44:17 +0200 |
|---|---|---|
| committer | David <daullmer@gmail.com> | 2020-07-22 19:44:17 +0200 |
| commit | 1cb20f91814cacdbb1866f42450cab9ae8000958 (patch) | |
| tree | 3d4eadaacda54dc407948cb37b55bf877031d6f3 | |
| parent | 2ce97c022e9ceadea4b9b72053626eff7439ff91 (diff) | |
Fix build
| -rw-r--r-- | Jellyfin.Api/Helpers/StreamingHelpers.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/StreamingHelpers.cs b/Jellyfin.Api/Helpers/StreamingHelpers.cs index 71bf053f5..caa601cf3 100644 --- a/Jellyfin.Api/Helpers/StreamingHelpers.cs +++ b/Jellyfin.Api/Helpers/StreamingHelpers.cs @@ -194,7 +194,9 @@ namespace Jellyfin.Api.Helpers if (string.IsNullOrEmpty(containerInternal)) { - containerInternal = (streamingRequest.Static && streamingRequest.Static) ? StreamBuilder.NormalizeMediaSourceFormatIntoSingleContainer(state.InputContainer, state.MediaPath, null, DlnaProfileType.Audio) : GetOutputFileExtension(state); + containerInternal = streamingRequest.Static ? + StreamBuilder.NormalizeMediaSourceFormatIntoSingleContainer(state.InputContainer, state.MediaPath, null, DlnaProfileType.Audio) + : GetOutputFileExtension(state); } state.OutputContainer = (containerInternal ?? string.Empty).TrimStart('.'); |
