Skip to content

Commit

Permalink
Fix routeMediaSourceId route parameter in SubtitleController GetSubtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Jun 12, 2021
1 parent 93dbbfe commit 0a0e10e
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 0a0e10e

Please sign in to comment.