tweak(regex): Simplify Atmos

This commit is contained in:
Seraphys
2025-10-19 10:24:05 -05:00
parent 6c6d89fe17
commit ff792f6bc4
4 changed files with 22 additions and 113 deletions

View File

@@ -4,9 +4,9 @@ tags:
- Audio - Audio
- Dolby - Dolby
conditions: conditions:
- name: Dolby Atmos - name: Atmos
negate: false negate: false
pattern: Dolby Atmos pattern: Atmos
required: true required: true
type: release_title type: release_title
- name: Not TrueHD - name: Not TrueHD

View File

@@ -1,45 +1,19 @@
name: Atmos name: Atmos
pattern: \bATMOS(\b|\d) pattern: \bATMOS|DDPA(\b|\d)
description: '' description: ''
tags: tags:
- Audio - Audio
- Enhancement - Enhancement
tests: tests:
- expected: false - id: 1
id: 1
input: The.Last.of.Us.S01.2160p.UHD.BluRay.Remux.TrueHDA7.1.H.265-PmP input: The.Last.of.Us.S01.2160p.UHD.BluRay.Remux.TrueHDA7.1.H.265-PmP
lastRun: '2025-01-06T15:07:07.378833' expected: false
matchSpan: null - id: 2
matchedContent: null
matchedGroups: []
passes: true
- expected: true
id: 2
input: The.Last.of.Us.S01.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.REMUX-FraMeSToR input: The.Last.of.Us.S01.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.REMUX-FraMeSToR
lastRun: '2025-01-06T15:07:07.378833' expected: true
matchSpan: - id: 3
end: 48
start: 43
matchedContent: Atmos
matchedGroups:
- ''
passes: true
- expected: true
id: 3
input: The Last of Us S01 2160p MAX WEB-DL DDP 5.1 Atmos DV HDR H.265-FLUX input: The Last of Us S01 2160p MAX WEB-DL DDP 5.1 Atmos DV HDR H.265-FLUX
lastRun: '2025-01-06T15:07:07.378833' expected: true
matchSpan: - id: 4
end: 49
start: 44
matchedContent: Atmos
matchedGroups:
- ''
passes: true
- expected: false
id: 4
input: The.Last.of.Us.S01.DV.HDR.2160p.MAX.WEB-DL.DDPA5.1.H.265-FLUX input: The.Last.of.Us.S01.DV.HDR.2160p.MAX.WEB-DL.DDPA5.1.H.265-FLUX
lastRun: '2025-01-06T15:07:07.378833' expected: true
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true

View File

@@ -1,52 +1,21 @@
name: BTN Atmos name: BTN Atmos
pattern: \bTrue[ .-]?HDA[ .-]?[57]\.1|DDPA[57]\.1\b pattern: \bTrue[ .-]?HDA[ .-]?[57]\.1
description: Matches BroadcastTheNet Atmos naming convention description: Matches BroadcastTheNet Atmos naming convention
tags: tags:
- Audio - Audio
tests: tests:
- expected: true - id: 1
id: 1
input: The.Last.of.Us.S01.2160p.UHD.BluRay.Remux.TrueHDA7.1.H.265-PmP input: The.Last.of.Us.S01.2160p.UHD.BluRay.Remux.TrueHDA7.1.H.265-PmP
lastRun: '2025-01-11T23:15:36.540509' expected: true
matchSpan: - id: 2
end: 52
start: 42
matchedContent: TrueHDA7.1
matchedGroups: []
passes: true
- expected: false
id: 2
input: The.Last.of.Us.S01.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.REMUX-FraMeSToR input: The.Last.of.Us.S01.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.REMUX-FraMeSToR
lastRun: '2025-01-11T23:15:36.540509' expected: false
matchSpan: null - id: 3
matchedContent: null
matchedGroups: []
passes: true
- expected: false
id: 3
input: The Last of Us S01 2160p MAX WEB-DL DDP 5.1 Atmos DV HDR H.265-FLUX input: The Last of Us S01 2160p MAX WEB-DL DDP 5.1 Atmos DV HDR H.265-FLUX
lastRun: '2025-01-11T23:15:36.540509' expected: false
matchSpan: null - id: 4
matchedContent: null
matchedGroups: []
passes: true
- expected: true
id: 4
input: The.Last.of.Us.S01.DV.HDR.2160p.MAX.WEB-DL.DDPA5.1.H.265-FLUX input: The.Last.of.Us.S01.DV.HDR.2160p.MAX.WEB-DL.DDPA5.1.H.265-FLUX
lastRun: '2025-01-11T23:15:36.540509' expected: false
matchSpan: - id: 5
end: 50
start: 43
matchedContent: DDPA5.1
matchedGroups: []
passes: true
- expected: true
id: 5
input: Loki.S01.2160p.UHD.BluRay.Remux.TrueHDA.7.1.H.265-SiCFoI input: Loki.S01.2160p.UHD.BluRay.Remux.TrueHDA.7.1.H.265-SiCFoI
lastRun: '2025-01-11T23:15:36.540509' expected: true
matchSpan:
end: 43
start: 32
matchedContent: TrueHDA.7.1
matchedGroups: []
passes: true

View File

@@ -1,34 +0,0 @@
name: Dolby Atmos
pattern: \bATMOS(\b|\d)|\bDDPA[57]\.1\b
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: true
- id: 5
input: The.Last.of.Us.S01.2160p.UHD.BluRay.Remux.TrueHDA7.1.H.265-PmP
expected: false
- id: 6
input: The.Last.of.Us.S01.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.REMUX-FraMeSToR
expected: true
- id: 7
input: The Last of Us S01 2160p MAX WEB-DL DDP 5.1 Atmos DV HDR H.265-FLUX
expected: true
- id: 8
input: The.Last.of.Us.S01.DV.HDR.2160p.MAX.WEB-DL.DDPA5.1.H.265-FLUX
expected: true
- id: 9
input: Loki.S01.2160p.UHD.BluRay.Remux.TrueHDA.7.1.H.265-SiCFoI
expected: false