Skip to content

Commit

Permalink
fix(logic): exclude season pack episodes when includeEpisodes is false
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Goodnow <[email protected]>
  • Loading branch information
zakkarry and mmgoodnow committed Sep 25, 2023
1 parent 35cd8b2 commit 9bc2c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9bc2c43

Please sign in to comment.