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
- Dolby
conditions:
- name: Dolby Atmos
- name: Atmos
negate: false
pattern: Dolby Atmos
pattern: Atmos
required: true
type: release_title
- name: Not TrueHD

View File

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

View File

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