diff options
| author | Cromefire_ <cromefire_@outlook.com> | 2020-09-07 21:46:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-07 21:46:19 +0200 |
| commit | 95265288a6d2d28e6a7c8aa6861a54539978f6cd (patch) | |
| tree | 616a7cf3fba257ecb8996d9a0db00719c0d20e35 | |
| parent | 23f6616e63c23a4c1741a206db19408a6515d4d8 (diff) | |
More expressive name for the VideoStream API
| -rw-r--r-- | Jellyfin.Api/Controllers/VideosController.cs | 4 |
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( |
