mirror of
https://github.com/agregarr/agregarr.git
synced 2026-04-27 05:29:50 -05:00
@@ -719,7 +719,8 @@ export class DirectDownloadService {
|
||||
const seasonCount = await missingItemFilterService.getTvSeasonCount(
|
||||
item.tmdbId
|
||||
);
|
||||
let seasonsToMonitor = Math.min(seasonCount, maxSeasons);
|
||||
let seasonsToMonitor =
|
||||
maxSeasons > 0 ? Math.min(seasonCount, maxSeasons) : seasonCount;
|
||||
|
||||
// Apply seasonsPerShowLimit if configured
|
||||
if (config.seasonsPerShowLimit && config.seasonsPerShowLimit > 0) {
|
||||
|
||||
Reference in New Issue
Block a user