diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-07-10 05:34:15 -0600 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2021-07-10 05:34:15 -0600 |
| commit | 43b0d0fa9528e3fbad1af647ee61772e319f4eaa (patch) | |
| tree | 882082d0f98e68dd8433567b8dac34b7b950fef8 /Jellyfin.Api/Controllers | |
| parent | e7022cc3fc7f6973262ed5f5a2a33fbf8c659c58 (diff) | |
Fix error message, use range parameters
Diffstat (limited to 'Jellyfin.Api/Controllers')
| -rw-r--r-- | Jellyfin.Api/Controllers/MediaInfoController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/MediaInfoController.cs b/Jellyfin.Api/Controllers/MediaInfoController.cs index ad11d0923..e7a7a6add 100644 --- a/Jellyfin.Api/Controllers/MediaInfoController.cs +++ b/Jellyfin.Api/Controllers/MediaInfoController.cs @@ -306,7 +306,7 @@ namespace Jellyfin.Api.Controllers [HttpGet("Playback/BitrateTest")] [ProducesResponseType(StatusCodes.Status200OK)] [ProducesFile(MediaTypeNames.Application.Octet)] - public ActionResult GetBitrateTestBytes([FromQuery][Range(1, 100_000_000, ErrorMessage = "The requested size must be greater than 0 and less than 100,000,000")] int size = 102400) + public ActionResult GetBitrateTestBytes([FromQuery][Range(1, 100_000_000, ErrorMessage = "The requested size must be greater than or equal to {1} and less than or equal to {2}")] int size = 102400) { byte[] buffer = ArrayPool<byte>.Shared.Rent(size); try |
