From 275af930ea3d9db992e671a39444d507d1d48d30 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Sat, 8 Nov 2025 08:34:32 -0600 Subject: [PATCH] tweak(format): Change TrueHD (Missing) to better Match --- custom_formats/TrueHD (Missing).yml | 26 +++++++++++++------------- profiles/2160p Quality.yml | 2 ++ regex_patterns/Atmos (Missing).yml | 19 +++++++++++++++++++ 3 files changed, 34 insertions(+), 13 deletions(-) create mode 100644 regex_patterns/Atmos (Missing).yml diff --git a/custom_formats/TrueHD (Missing).yml b/custom_formats/TrueHD (Missing).yml index fe5abed..09a11ba 100644 --- a/custom_formats/TrueHD (Missing).yml +++ b/custom_formats/TrueHD (Missing).yml @@ -9,31 +9,31 @@ conditions: required: true resolution: 2160p type: resolution -- name: Remux +- name: Atmos negate: false - pattern: Remux + pattern: Atmos (Missing) required: true type: release_title -- name: TrueHD Missing Groups - negate: false - pattern: TrueHD (Missing Groups) - required: true - type: release_title -- name: Not DTS-HD +- name: Not DD negate: true - pattern: DTS-HD + pattern: Dolby Digital required: true type: release_title -- name: Not DTS-X +- name: Not DD+ negate: true - pattern: DTS-X + pattern: Dolby Digital + + required: true + type: release_title +- name: Not DTS + negate: true + pattern: DTS required: true type: release_title - name: Not FLAC + type: release_title + required: true negate: true pattern: FLAC - required: true - type: release_title - name: Not TrueHD negate: true pattern: TrueHD diff --git a/profiles/2160p Quality.yml b/profiles/2160p Quality.yml index 9970715..ff0c29c 100644 --- a/profiles/2160p Quality.yml +++ b/profiles/2160p Quality.yml @@ -121,6 +121,8 @@ custom_formats: score: 800 - name: TrueHD score: 800 +- name: TrueHD (Missing) + score: 800 - name: FLAC score: 700 - name: PCM diff --git a/regex_patterns/Atmos (Missing).yml b/regex_patterns/Atmos (Missing).yml new file mode 100644 index 0000000..9c7b97f --- /dev/null +++ b/regex_patterns/Atmos (Missing).yml @@ -0,0 +1,19 @@ +name: Atmos (Missing) +pattern: \bATMOS(\b|\d) +description: '' +tags: +- Audio +- Enhancement +tests: +- id: 1 + input: The.Last.of.Us.S01.2160p.UHD.BluRay.Remux.TrueHDA7.1.H.265-PmP + expected: false +- id: 2 + input: The.Last.of.Us.S01.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.REMUX-FraMeSToR + expected: true +- id: 3 + input: The Last of Us S01 2160p MAX WEB-DL DDP 5.1 Atmos DV HDR H.265-FLUX + expected: true +- id: 4 + input: The.Last.of.Us.S01.DV.HDR.2160p.MAX.WEB-DL.DDPA5.1.H.265-FLUX + expected: false