Browse Source

Inverted if statement

BaronGreenback 4 years ago
parent
commit
9fc1a8b619
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jellyfin.Api/Helpers/StreamingHelpers.cs

+ 1 - 1
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;
             }