diff options
| author | MBR-0001 <55142207+MBR-0001@users.noreply.github.com> | 2021-10-19 21:06:05 +0200 |
|---|---|---|
| committer | MBR-0001 <55142207+MBR-0001@users.noreply.github.com> | 2021-10-19 21:06:05 +0200 |
| commit | ade3afad418f6fb29b2834d515a851ff3941a511 (patch) | |
| tree | f8118eddce257e29d3137bac45c76b32cf3d9e5e /MediaBrowser.Providers/Subtitles | |
| parent | 8388f7c462d50065a931a42ff2c7b34a0d7e1c34 (diff) | |
Add IsAutomated to SubtitleSearchRequest
Diffstat (limited to 'MediaBrowser.Providers/Subtitles')
| -rw-r--r-- | MediaBrowser.Providers/Subtitles/SubtitleManager.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.Providers/Subtitles/SubtitleManager.cs b/MediaBrowser.Providers/Subtitles/SubtitleManager.cs index b7074a04c..73f9d7b62 100644 --- a/MediaBrowser.Providers/Subtitles/SubtitleManager.cs +++ b/MediaBrowser.Providers/Subtitles/SubtitleManager.cs @@ -274,7 +274,7 @@ namespace MediaBrowser.Providers.Subtitles } /// <inheritdoc /> - public Task<RemoteSubtitleInfo[]> SearchSubtitles(Video video, string language, bool? isPerfectMatch, CancellationToken cancellationToken) + public Task<RemoteSubtitleInfo[]> SearchSubtitles(Video video, string language, bool? isPerfectMatch, bool isAutomated, CancellationToken cancellationToken) { if (video.VideoType != VideoType.VideoFile) { @@ -308,7 +308,8 @@ namespace MediaBrowser.Providers.Subtitles ProductionYear = video.ProductionYear, ProviderIds = video.ProviderIds, RuntimeTicks = video.RunTimeTicks, - IsPerfectMatch = isPerfectMatch ?? false + IsPerfectMatch = isPerfectMatch ?? false, + IsAutomated = isAutomated }; if (video is Episode episode) |
