Shadowghost 2 лет назад
Родитель
Сommit
44077b4f5c
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      Jellyfin.Api/Controllers/LiveTvController.cs

+ 0 - 2
Jellyfin.Api/Controllers/LiveTvController.cs

@@ -1156,7 +1156,6 @@ namespace Jellyfin.Api.Controllers
         /// or a <see cref="NotFoundResult"/> if recording not found.
         /// or a <see cref="NotFoundResult"/> if recording not found.
         /// </returns>
         /// </returns>
         [HttpGet("LiveRecordings/{recordingId}/stream")]
         [HttpGet("LiveRecordings/{recordingId}/stream")]
-        [Authorize(Policy = Policies.LiveTvAccess)]
         [ProducesResponseType(StatusCodes.Status200OK)]
         [ProducesResponseType(StatusCodes.Status200OK)]
         [ProducesResponseType(StatusCodes.Status404NotFound)]
         [ProducesResponseType(StatusCodes.Status404NotFound)]
         [ProducesVideoFile]
         [ProducesVideoFile]
@@ -1185,7 +1184,6 @@ namespace Jellyfin.Api.Controllers
         /// or a <see cref="NotFoundResult"/> if stream not found.
         /// or a <see cref="NotFoundResult"/> if stream not found.
         /// </returns>
         /// </returns>
         [HttpGet("LiveStreamFiles/{streamId}/stream.{container}")]
         [HttpGet("LiveStreamFiles/{streamId}/stream.{container}")]
-        [Authorize(Policy = Policies.LiveTvAccess)]
         [ProducesResponseType(StatusCodes.Status200OK)]
         [ProducesResponseType(StatusCodes.Status200OK)]
         [ProducesResponseType(StatusCodes.Status404NotFound)]
         [ProducesResponseType(StatusCodes.Status404NotFound)]
         [ProducesVideoFile]
         [ProducesVideoFile]