Преглед изворни кода

Fix routeMediaSourceId route parameter in SubtitleController GetSubtitle

Niels van Velzen пре 4 година
родитељ
комит
0a0e10e854
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Jellyfin.Api/Controllers/SubtitleController.cs

+ 1 - 1
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(