diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-06-12 17:02:33 +0200 |
|---|---|---|
| committer | Joshua M. Boniface <joshua@boniface.me> | 2021-06-13 19:30:34 -0400 |
| commit | 56b05f4e2b3acac2c6f2d2fa7aba7c68d2e87639 (patch) | |
| tree | a0057032a3123a811fa071f4a8c20bde62dd5264 | |
| parent | e8148ec0bd2a1bed1df7b4a3ba7a1cbed80c84bb (diff) | |
Merge pull request #6175 from nielsvanvelzen/crobibero-is-stupidv10.7.6
Fix routeMediaSourceId route parameter in SubtitleController GetSubtitle
(cherry picked from commit 04daf0ff498655840b55d7ac6e571035aae6417c)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
| -rw-r--r-- | Jellyfin.Api/Controllers/SubtitleController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SubtitleController.cs b/Jellyfin.Api/Controllers/SubtitleController.cs index 1669a659d..b473574e0 100644 --- a/Jellyfin.Api/Controllers/SubtitleController.cs +++ b/Jellyfin.Api/Controllers/SubtitleController.cs @@ -196,7 +196,7 @@ namespace Jellyfin.Api.Controllers /// <param name="startPositionTicks">The start position of the subtitle in ticks.</param> /// <response code="200">File returned.</response> /// <returns>A <see cref="FileContentResult"/> with the subtitle file.</returns> - [HttpGet("Videos/{routeItemId}/routeMediaSourceId/Subtitles/{routeIndex}/Stream.{routeFormat}")] + [HttpGet("Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}")] [ProducesResponseType(StatusCodes.Status200OK)] [ProducesFile("text/*")] public async Task<ActionResult> GetSubtitle( |
