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
  • Loading branch information
Bond-009 authored Jun 12, 2021
2 parents 93dbbfe + 0a0e10e commit 04daf0f
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 04daf0f

Please sign in to comment.