diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-09-17 18:20:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-17 18:20:27 +0100 |
| commit | 9fc1a8b6198b80e2fe2dfcceab8614146c7fc6f4 (patch) | |
| tree | 1df9ecf4816ffede8f509533e18c262ee7be1ca4 | |
| parent | 81db323f88ddd87b4f75f9231206e83fbe4356b1 (diff) | |
Inverted if statement
| -rw-r--r-- | Jellyfin.Api/Helpers/StreamingHelpers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/StreamingHelpers.cs b/Jellyfin.Api/Helpers/StreamingHelpers.cs index 89ab2da62..f4ec29bde 100644 --- a/Jellyfin.Api/Helpers/StreamingHelpers.cs +++ b/Jellyfin.Api/Helpers/StreamingHelpers.cs @@ -169,7 +169,7 @@ namespace Jellyfin.Api.Helpers string? containerInternal = Path.GetExtension(state.RequestedUrl); - if (string.IsNullOrEmpty(streamingRequest.Container)) + if (!string.IsNullOrEmpty(streamingRequest.Container)) { containerInternal = streamingRequest.Container; } |
