aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/SubtitleController.cs
diff options
context:
space:
mode:
authorDavid <daullmer@gmail.com>2020-06-11 16:01:41 +0200
committerDavid <daullmer@gmail.com>2020-06-11 16:01:41 +0200
commita47ff4043f2116716d5f15d1f79657550052bde8 (patch)
treeeea3e84301af7cb943cc888b1c409fbbb9e8cd46 /Jellyfin.Api/Controllers/SubtitleController.cs
parentfcbae95d1945ad5d632c5c86253c02da657db339 (diff)
Disable CA1801
Diffstat (limited to 'Jellyfin.Api/Controllers/SubtitleController.cs')
-rw-r--r--Jellyfin.Api/Controllers/SubtitleController.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/SubtitleController.cs b/Jellyfin.Api/Controllers/SubtitleController.cs
index ba2250d81..97df8c60d 100644
--- a/Jellyfin.Api/Controllers/SubtitleController.cs
+++ b/Jellyfin.Api/Controllers/SubtitleController.cs
@@ -1,4 +1,5 @@
#nullable enable
+#pragma warning disable CA1801
using System;
using System.Collections.Generic;
@@ -253,6 +254,7 @@ namespace Jellyfin.Api.Controllers
[ProducesResponseType(StatusCodes.Status200OK)]
public async Task<ActionResult> GetSubtitlePlaylist(
[FromRoute] Guid id,
+ // TODO: 'int index' is never used: CA1801 is disabled
[FromRoute] int index,
[FromRoute] string mediaSourceId,
[FromQuery, Required] int segmentLength)