소스 검색

Inverted if statement

BaronGreenback 4 년 전
부모
커밋
9fc1a8b619
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
             }