From af6aff2a5a93e1016d65a62b645617ec2704df68 Mon Sep 17 00:00:00 2001 From: Audionut Date: Thu, 5 Dec 2024 17:53:22 +1000 Subject: [PATCH] Duping - search name not uuid Fixes UHD in particular. --- src/trackers/COMMON.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/trackers/COMMON.py b/src/trackers/COMMON.py index 693bca21..1fd49ef6 100644 --- a/src/trackers/COMMON.py +++ b/src/trackers/COMMON.py @@ -646,25 +646,25 @@ async def filter_dupes(self, dupes, meta): }, { "key": "remux", - "uuid_flag": "remux" in meta.get('uuid', '').lower(), + "uuid_flag": "remux" in meta.get('name', '').lower(), "condition": lambda each: "remux" in each.lower(), "exclude_msg": lambda each: f"Excluding result due to 'remux' mismatch: {each}" }, { "key": "uhd", - "uuid_flag": "uhd" in meta.get('uuid', '').lower(), + "uuid_flag": "uhd" in meta.get('name', '').lower(), "condition": lambda each: "uhd" in each.lower(), "exclude_msg": lambda each: f"Excluding result due to 'UHD' mismatch: {each}" }, { "key": "webdl", - "uuid_flag": "webdl" in meta.get('uuid', '').lower(), - "condition": lambda each: "webdl" in each.lower(), + "uuid_flag": "web-dl" in meta.get('name', '').lower(), + "condition": lambda each: "webdl" in each.lower() or "web-dl" in each.lower(), "exclude_msg": lambda each: f"Excluding result due to 'WEBDL' mismatch: {each}" }, { "key": "hdtv", - "uuid_flag": "hdtv" in meta.get('uuid', '').lower(), + "uuid_flag": "hdtv" in meta.get('name', '').lower(), "condition": lambda each: "hdtv" in each.lower(), "exclude_msg": lambda each: f"Excluding result due to 'HDTV' mismatch: {each}" },