removed unreachable empty selection guard

This commit is contained in:
Flaminel committed 2026-10-20 15:55:53 +03:00
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)];