Browse Source

Inverted if statement

BaronGreenback 4 năm trước cách đây
mục cha
commit
9fc1a8b619

+ 1 - 1
Jellyfin.Api/Helpers/StreamingHelpers.cs

@@ -169,7 +169,7 @@ namespace Jellyfin.Api.Helpers
 
 
             string? containerInternal = Path.GetExtension(state.RequestedUrl);
             string? containerInternal = Path.GetExtension(state.RequestedUrl);
 
 
-            if (string.IsNullOrEmpty(streamingRequest.Container))
+            if (!string.IsNullOrEmpty(streamingRequest.Container))
             {
             {
                 containerInternal = streamingRequest.Container;
                 containerInternal = streamingRequest.Container;
             }
             }