From a10347f9f451d632ff706d479bfc2e211a7054d7 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Wed, 4 Feb 2026 16:01:41 -0600 Subject: [PATCH] tweak(format): Require HDTV CFs to match HDTV Regex --- custom_formats/1080p HDTV Tier 1.yml | 9 +++++++-- custom_formats/1080p HDTV Tier 2.yml | 9 +++++++-- custom_formats/1080p HDTV Tier 3.yml | 5 +++++ custom_formats/1080p HDTV.yml | 8 ++++---- custom_formats/720p HDTV Tier 1.yml | 9 +++++++-- custom_formats/720p HDTV Tier 2.yml | 9 +++++++-- custom_formats/720p HDTV Tier 3.yml | 5 +++++ custom_formats/720p HDTV.yml | 6 +++--- regex_patterns/HDTV.yml | 19 +++++++++++++++++++ regex_patterns/Sourceless Groups.yml | 6 ------ 10 files changed, 64 insertions(+), 21 deletions(-) create mode 100644 regex_patterns/HDTV.yml delete mode 100644 regex_patterns/Sourceless Groups.yml diff --git a/custom_formats/1080p HDTV Tier 1.yml b/custom_formats/1080p HDTV Tier 1.yml index b4418e69..66369884 100644 --- a/custom_formats/1080p HDTV Tier 1.yml +++ b/custom_formats/1080p HDTV Tier 1.yml @@ -13,16 +13,21 @@ conditions: required: true source: television type: source +- name: HDTV Regex + type: release_title + required: true + negate: false + pattern: HDTV - name: CtrlHD negate: false pattern: CtrlHD required: false type: release_group - name: EDPH - type: release_group - required: false negate: false pattern: EDPH + required: false + type: release_group - name: NTb negate: false pattern: NTb diff --git a/custom_formats/1080p HDTV Tier 2.yml b/custom_formats/1080p HDTV Tier 2.yml index b89bb43b..922aad2d 100644 --- a/custom_formats/1080p HDTV Tier 2.yml +++ b/custom_formats/1080p HDTV Tier 2.yml @@ -13,11 +13,16 @@ conditions: required: true source: television type: source +- name: HDTV Regex + type: release_title + required: true + negate: false + pattern: HDTV - name: BTN - type: release_group - required: false negate: false pattern: BTN + required: false + type: release_group - name: DARKFLiX negate: false pattern: DARKFLiX diff --git a/custom_formats/1080p HDTV Tier 3.yml b/custom_formats/1080p HDTV Tier 3.yml index 4facec54..a447a11b 100644 --- a/custom_formats/1080p HDTV Tier 3.yml +++ b/custom_formats/1080p HDTV Tier 3.yml @@ -13,6 +13,11 @@ conditions: required: true source: television type: source +- name: HDTV Regex + type: release_title + required: true + negate: false + pattern: HDTV - name: HANDJOB negate: false pattern: HANDJOB diff --git a/custom_formats/1080p HDTV.yml b/custom_formats/1080p HDTV.yml index b144bd9a..fbd4d368 100644 --- a/custom_formats/1080p HDTV.yml +++ b/custom_formats/1080p HDTV.yml @@ -13,9 +13,9 @@ conditions: required: true source: television type: source -- name: Sourceless Groups - type: release_group +- name: HDTV Regex + negate: false + pattern: HDTV required: true - negate: true - pattern: Sourceless Groups + type: release_title tests: [] diff --git a/custom_formats/720p HDTV Tier 1.yml b/custom_formats/720p HDTV Tier 1.yml index 3b1ef929..f5b9fb71 100644 --- a/custom_formats/720p HDTV Tier 1.yml +++ b/custom_formats/720p HDTV Tier 1.yml @@ -13,11 +13,16 @@ conditions: required: true source: television type: source +- name: HDTV Regex + type: release_title + required: true + negate: false + pattern: HDTV - name: BMF - type: release_group - required: false negate: false pattern: BMF + required: false + type: release_group - name: CtrlHD negate: false pattern: CtrlHD diff --git a/custom_formats/720p HDTV Tier 2.yml b/custom_formats/720p HDTV Tier 2.yml index 6dd84276..580d69f4 100644 --- a/custom_formats/720p HDTV Tier 2.yml +++ b/custom_formats/720p HDTV Tier 2.yml @@ -13,11 +13,16 @@ conditions: required: true source: television type: source +- name: HDTV Regex + type: release_title + required: true + negate: false + pattern: HDTV - name: BTN - type: release_group - required: false negate: false pattern: BTN + required: false + type: release_group - name: DARKFLiX negate: false pattern: DARKFLiX diff --git a/custom_formats/720p HDTV Tier 3.yml b/custom_formats/720p HDTV Tier 3.yml index 553829e0..615d0272 100644 --- a/custom_formats/720p HDTV Tier 3.yml +++ b/custom_formats/720p HDTV Tier 3.yml @@ -13,6 +13,11 @@ conditions: required: true source: television type: source +- name: HDTV Regex + type: release_title + required: true + negate: false + pattern: HDTV - name: HANDJOB negate: false pattern: HANDJOB diff --git a/custom_formats/720p HDTV.yml b/custom_formats/720p HDTV.yml index 83205178..3db85c65 100644 --- a/custom_formats/720p HDTV.yml +++ b/custom_formats/720p HDTV.yml @@ -13,9 +13,9 @@ conditions: required: true source: television type: source -- name: Sourceless Groups +- name: HDTV Regex type: release_title required: true - negate: true - pattern: Sourceless Groups + negate: false + pattern: HDTV tests: [] diff --git a/regex_patterns/HDTV.yml b/regex_patterns/HDTV.yml new file mode 100644 index 00000000..0ab02e29 --- /dev/null +++ b/regex_patterns/HDTV.yml @@ -0,0 +1,19 @@ +name: HDTV +pattern: \b(HDTV)\b +description: '' +tags: +- Enhancements +tests: +- id: 1 + input: Aqua Teen Hunger Force (2000) S00E13 (480p DVD x265 SDR AAC 2.0 English - + r00t QxR) + expected: false +- id: 2 + input: Planet Earth II S01 REPACK UHD BluRay 2160p DD5.1 HDR x265-BHDStudio + expected: false +- id: 3 + input: The Batman (2022) (1080p HMAX WEB-DL H265 SDR DDP Atmos 5.1 English - HONE) + expected: true +- id: 4 + input: "\t The Batman (2022) 1080p AMZN WEB-DL H265 SDR DDP 5.1 English-DarQ" + expected: true diff --git a/regex_patterns/Sourceless Groups.yml b/regex_patterns/Sourceless Groups.yml deleted file mode 100644 index efdc9fac..00000000 --- a/regex_patterns/Sourceless Groups.yml +++ /dev/null @@ -1,6 +0,0 @@ -name: Sourceless Groups -pattern: (?<=^|[\s.-])(ELiTE|Megusta)\b -description: '' -tags: -- Release Group -tests: []