mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-05-09 07:13:59 -04:00
Fix Seeker's filters allowing searching for all types of movies regardless of settings (#567)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -453,7 +453,6 @@ public sealed class Seeker : IHandler
|
||||
.Any(label => label is not null && skipTagSet.Contains(label))
|
||||
)
|
||||
.Where(m => !m.HasFile
|
||||
|| (!instanceConfig.UseCutoff && !instanceConfig.UseCustomFormatScore)
|
||||
|| (instanceConfig.UseCutoff && (m.MovieFile?.QualityCutoffNotMet ?? false))
|
||||
|| (instanceConfig.UseCustomFormatScore && cfScores != null && cfScores.TryGetValue(m.Id, out var entry) && entry.CurrentScore < entry.CutoffScore))
|
||||
.ToList();
|
||||
@@ -715,7 +714,6 @@ public sealed class Seeker : IHandler
|
||||
.Where(e => e.AirDateUtc.HasValue && e.AirDateUtc.Value <= graceCutoff)
|
||||
.Where(e => !instanceConfig.MonitoredOnly || e.Monitored)
|
||||
.Where(e => !e.HasFile
|
||||
|| (!instanceConfig.UseCutoff && !instanceConfig.UseCustomFormatScore)
|
||||
|| (instanceConfig.UseCutoff && cutoffNotMetFileIds.Contains(e.EpisodeFileId))
|
||||
|| (instanceConfig.UseCustomFormatScore && cfScores != null && cfScores.TryGetValue(e.Id, out var entry) && entry.CurrentScore < entry.CutoffScore))
|
||||
.OrderBy(e => e.SeasonNumber)
|
||||
|
||||
Reference in New Issue
Block a user