improvement(regex): Regex patterns for prior Atmos improvements

This commit is contained in:
santiagosayshey 2025-01-06 16:15:19 +10:50
parent dba94a65cf
commit fe6de27099
2 changed files with 80 additions and 1 deletions

View File

@ -4,4 +4,42 @@ description: ''
tags:
- Audio
- Enhancement
tests: []
tests:
- expected: false
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
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
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
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

View File

@ -0,0 +1,41 @@
name: BTN Atmos
pattern: \bTrue[ .-]?HDA[57].1|DDPA[57].1\b
description: Matches BroadcastTheNet Atmos naming convention
tags: []
tests:
- expected: true
id: 1
input: The.Last.of.Us.S01.2160p.UHD.BluRay.Remux.TrueHDA7.1.H.265-PmP
lastRun: '2025-01-06T15:05:19.738290'
matchSpan:
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
lastRun: '2025-01-06T15:05:19.738290'
matchSpan: null
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
lastRun: '2025-01-06T15:05:19.738290'
matchSpan: null
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
lastRun: '2025-01-06T15:05:19.738290'
matchSpan:
end: 50
start: 43
matchedContent: DDPA5.1
matchedGroups: []
passes: true