From 9bc2c432b29d891a90b56e5f7077c173dc24201b Mon Sep 17 00:00:00 2001 From: zakary <123845855+zakkarry@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:33:40 -0500 Subject: [PATCH] fix(logic): exclude season pack episodes when includeEpisodes is false Co-authored-by: Michael Goodnow --- src/preFilter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preFilter.ts b/src/preFilter.ts index 7b674cb23..8e4e6afbf 100644 --- a/src/preFilter.ts +++ b/src/preFilter.ts @@ -27,7 +27,7 @@ export function filterByContent(searchee: Searchee): boolean { return false; } - if (includeSingleEpisodes && isSeasonPackEpisode) { + if (!includeEpisodes && isSeasonPackEpisode) { logReason("it is a season pack episode"); return false; }