aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-09-05 11:55:17 +0200
committerGitHub <noreply@github.com>2020-09-05 11:55:17 +0200
commit4500452674028536d5b2877fb33a3115d9dc5e60 (patch)
tree1def4ed4cae6e60106ff68dd37b0b68380f46fa6
parentd8c6d291829f6a80ad1c13e039293f04083470f0 (diff)
parent4836f14affcdf1b2806aafb0bb638456add1b612 (diff)
Merge pull request #4055 from Ullmie02/seeking
Enable HTTP Range Processing (Fix seeking)
-rw-r--r--Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs b/Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs
index deb54dbe6..884bfbe44 100644
--- a/Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs
+++ b/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>