aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-09-17 18:20:27 +0100
committerGitHub <noreply@github.com>2020-09-17 18:20:27 +0100
commit9fc1a8b6198b80e2fe2dfcceab8614146c7fc6f4 (patch)
tree1df9ecf4816ffede8f509533e18c262ee7be1ca4
parent81db323f88ddd87b4f75f9231206e83fbe4356b1 (diff)
Inverted if statement
-rw-r--r--Jellyfin.Api/Helpers/StreamingHelpers.cs2
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;
}