mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-10-28 10:48:49 -04:00
removed unreachable empty selection guard
This commit is contained in:
1 parent
d23d8c7082
commit
800b7e0db4
1 file changed
-5
@@ -942,11 +942,6 @@ public sealed class Seeker : IHandler
|
||||
IItemSelector selector = ItemSelectorFactory.Create(config.SelectionStrategy);
|
||||
List<long> selectedIds = selector.Select(selectionCandidates, 1);
|
||||
|
||||
if (selectedIds.Count == 0)
|
||||
{
|
||||
return new SeekerProcessResult { Candidates = [], AllLibraryIds = allLibraryIds, CycleId = cycleId };
|
||||
}
|
||||
|
||||
long seriesId = selectedIds[0];
|
||||
List<int> seriesSeasons = remainingSeasonsBySeries[seriesId];
|
||||
int seasonNumber = seriesSeasons[Random.Shared.Next(seriesSeasons.Count)];
|
||||
|
||||
Reference in new issue
Block a user