aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCromefire_ <cromefire_@outlook.com>2020-09-07 21:46:19 +0200
committerGitHub <noreply@github.com>2020-09-07 21:46:19 +0200
commit95265288a6d2d28e6a7c8aa6861a54539978f6cd (patch)
tree616a7cf3fba257ecb8996d9a0db00719c0d20e35
parent23f6616e63c23a4c1741a206db19408a6515d4d8 (diff)
More expressive name for the VideoStream API
-rw-r--r--Jellyfin.Api/Controllers/VideosController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/VideosController.cs b/Jellyfin.Api/Controllers/VideosController.cs
index 5c65399cb..3126a0bc3 100644
--- a/Jellyfin.Api/Controllers/VideosController.cs
+++ b/Jellyfin.Api/Controllers/VideosController.cs
@@ -325,9 +325,9 @@ namespace Jellyfin.Api.Controllers
/// <param name="streamOptions">Optional. The streaming options.</param>
/// <response code="200">Video stream returned.</response>
/// <returns>A <see cref="FileResult"/> containing the audio file.</returns>
- [HttpGet("{itemId}/{stream=stream}.{container?}", Name = "GetVideoStream_2")]
+ [HttpGet("{itemId}/{stream=stream}.{container?}", Name = "GetVideoStreamWithExt")]
[HttpGet("{itemId}/stream")]
- [HttpHead("{itemId}/{stream=stream}.{container?}", Name = "HeadVideoStream_2")]
+ [HttpHead("{itemId}/{stream=stream}.{container?}", Name = "HeadVideoStreamWithExt")]
[HttpHead("{itemId}/stream", Name = "HeadVideoStream")]
[ProducesResponseType(StatusCodes.Status200OK)]
public async Task<ActionResult> GetVideoStream(