Skip to content

Commit

Permalink
Dupe ordering correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Jan 12, 2025
1 parent ce4e71d commit 1ee26dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/trackers/COMMON.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,10 @@ async def process_exclusion(each):
await log_exclusion("file extension mismatch (is_disc=True)", each)
return True

if is_sd == 1 and tracker_name == "BHD":
if any(str(res) in each for res in [1080, 720, 2160]):
return False

if is_dvd or "DVD" in target_source or is_dvdrip:
skip_resolution_check = True
else:
Expand All @@ -733,10 +737,6 @@ async def process_exclusion(each):
await log_exclusion(f"resolution '{target_resolution}' mismatch", each)
return True

if is_sd == 1 and tracker_name == "BHD":
if any(str(res) in each for res in [1080, 720, 2160]):
return False

for check in attribute_checks:
if check["key"] == "repack":
if has_repack_in_uuid and "repack" not in normalized:
Expand Down

0 comments on commit 1ee26dc

Please sign in to comment.