Skip to content

Commit

Permalink
Dupe checking - add dvdrip to skip checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Jan 7, 2025
1 parent e8a2b8e commit 6e19a81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/trackers/COMMON.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ async def filter_dupes(self, dupes, meta, tracker_name):
target_resolution = meta.get("resolution")
tag = meta.get("tag").lower().replace("-", " ")
is_dvd = meta['is_disc'] == "DVD"
is_dvdrip = meta['type'] == "DVDRIP"
web_dl = meta.get('type') == "WEBDL"
target_source = meta.get("source")
is_sd = meta.get('sd')
Expand Down Expand Up @@ -707,7 +708,7 @@ async def process_exclusion(each):
await log_exclusion("file extension mismatch (is_disc=True)", each)
return True

if is_dvd or "DVD" in target_source:
if is_dvd or "DVD" in target_source or is_dvdrip:
skip_resolution_check = True
else:
skip_resolution_check = False
Expand Down

0 comments on commit 6e19a81

Please sign in to comment.