diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-03-25 17:01:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-25 17:01:18 +0100 |
| commit | 411570e6d404d11a99315971a025ed9d7cc1486e (patch) | |
| tree | 8125aebba3d659faf9d92d7a30a79e7668624d65 | |
| parent | a76d997a86b07f38ad1e7f168f11d2de6423d545 (diff) | |
| parent | b3d084044e2d98590d9c939090ba522aa66dff82 (diff) | |
Merge pull request #5621 from cvium/enable-range-processing-download
enable range processing for download endpoints
| -rw-r--r-- | Jellyfin.Api/Controllers/LibraryController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.cs index f8e8825ef..1d4bbe61e 100644 --- a/Jellyfin.Api/Controllers/LibraryController.cs +++ b/Jellyfin.Api/Controllers/LibraryController.cs @@ -114,7 +114,7 @@ namespace Jellyfin.Api.Controllers return NotFound(); } - return PhysicalFile(item.Path, MimeTypes.GetMimeType(item.Path)); + return PhysicalFile(item.Path, MimeTypes.GetMimeType(item.Path), true); } /// <summary> @@ -666,7 +666,7 @@ namespace Jellyfin.Api.Controllers } // TODO determine non-ASCII validity. - return PhysicalFile(path, MimeTypes.GetMimeType(path), filename); + return PhysicalFile(path, MimeTypes.GetMimeType(path), filename, true); } /// <summary> |
