From f448c60fa46c028ab2ee077a23a5033b40537e20 Mon Sep 17 00:00:00 2001 From: santiagosayshey Date: Mon, 6 Jan 2025 16:05:02 +1050 Subject: [PATCH] improvement(format): Parse for BTN Atmos labelling - Instead of 'Atmos', match a singular 'A' after 'TrueHD' or 'DDP' - The.Last.of.Us.S01.2160p.UHD.BluRay.Remux.TrueHDA7.1.H.265-PmP --- custom_formats/Atmos (Missing).yml | 5 +++++ custom_formats/Atmos.yml | 7 ++++++- regex_patterns/{TrueHD + Atmos.yml => Atmos (BTN).yml} | 0 3 files changed, 11 insertions(+), 1 deletion(-) rename regex_patterns/{TrueHD + Atmos.yml => Atmos (BTN).yml} (100%) diff --git a/custom_formats/Atmos (Missing).yml b/custom_formats/Atmos (Missing).yml index 20b6626..4bf9f30 100644 --- a/custom_formats/Atmos (Missing).yml +++ b/custom_formats/Atmos (Missing).yml @@ -21,4 +21,9 @@ conditions: pattern: TrueHD required: true type: release_title +- name: Not Atmos (BTN) + type: release_title + required: true + negate: true + pattern: Atmos (BTN) tests: [] diff --git a/custom_formats/Atmos.yml b/custom_formats/Atmos.yml index d902442..d5a5aba 100644 --- a/custom_formats/Atmos.yml +++ b/custom_formats/Atmos.yml @@ -8,6 +8,11 @@ conditions: - name: Atmos negate: false pattern: Atmos - required: true + required: false type: release_title +- name: Atmos (BTN Standard) + type: release_title + required: false + negate: false + pattern: Atmos (BTN) tests: [] diff --git a/regex_patterns/TrueHD + Atmos.yml b/regex_patterns/Atmos (BTN).yml similarity index 100% rename from regex_patterns/TrueHD + Atmos.yml rename to regex_patterns/Atmos (BTN).yml