Преглед изворни кода

Enable HTTP Range Processing

David пре 4 година
родитељ
комит
4836f14aff
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs

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

@@ -72,7 +72,7 @@ namespace Jellyfin.Api.Helpers
                 return new NoContentResult();
             }
 
-            return new PhysicalFileResult(path, contentType);
+            return new PhysicalFileResult(path, contentType) { EnableRangeProcessing = true };
         }
 
         /// <summary>