Skip to content

Commit

Permalink
Merge pull request jellyfin#6175 from nielsvanvelzen/crobibero-is-stupid
Browse files Browse the repository at this point in the history
Fix routeMediaSourceId route parameter in SubtitleController GetSubtitle

(cherry picked from commit 04daf0f)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
  • Loading branch information
Bond-009 authored and joshuaboniface committed Jun 13, 2021
1 parent e8148ec commit 56b05f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jellyfin.Api/Controllers/SubtitleController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public async Task<ActionResult> GetRemoteSubtitles([FromRoute, Required] string
/// <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(
Expand Down

0 comments on commit 56b05f4

Please sign in to comment.