aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/SubtitleController.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-06-12 17:02:33 +0200
committerJoshua M. Boniface <joshua@boniface.me>2021-06-13 19:30:34 -0400
commit56b05f4e2b3acac2c6f2d2fa7aba7c68d2e87639 (patch)
treea0057032a3123a811fa071f4a8c20bde62dd5264 /Jellyfin.Api/Controllers/SubtitleController.cs
parente8148ec0bd2a1bed1df7b4a3ba7a1cbed80c84bb (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>
Diffstat (limited to 'Jellyfin.Api/Controllers/SubtitleController.cs')
-rw-r--r--Jellyfin.Api/Controllers/SubtitleController.cs2
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(