New Profile: 2160p Remux (#17)

* fix(format): Add required negation to remux regex

* Improvement(format): Better h265 parsing

- Only match 1080p + WEB
- Don't match remuxes / full discs

* feat(profile): New Profile: 2160p Remux

- Profile initialisation
- Still needs to be tested

* fix(format): Fix required negations for Atmos and HDR10

* feat(format): New 'codec' CF

- Matches Remux as a codec, not a source. Either h265 or h264.
- Need a better descriptor for this

* 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

* fix(format): required negations for TrueHD

* fix(format): don't match encodes / remuxes

* improvement(regex): Regex patterns for prior Atmos improvements

* improvement(format): Add more missing groups for HDR10, TrueHD

- TekMUX for HDR
- PmP for TrueHD

* feat(format): new CF: Encodes from Blu-ray

- Matches encodes from a Blu-ray, needed to drop score of 4k encodes

* feat(format): New CF: Non Retail HDR

- Matches releases with non retail HDR from specific release groups (notably from torrentleech)

* improvement(profile): Various scoring fixes for 2160p Remux

- Negate non-retail HDR
- Negate Bluray encodes
- Add missing TrueHD scores
- Add remux (codec) score
- Update until still broken

* fix(profile): Restore Prefer Freeleech

* fix(profile): Fix Quality Cutoff

- Now back to 2160p Remux
- Mapping wasn't properly resolving to Sonarr IDs

* tweak(profile): Scoring Changes

- Upgrade until -> 350 represents a 2160p Remux with DV + HDR10+, TrueHD + Atmos
- Min score increment -> 10 to stop upgrades between freleech

* tweak(regex): Add 'jennaortegaUHD' to Non Retail HDR Groups

- Releases appear to have injected HDR10+ / DoVi
- Unclear if this is non retail, but no other groups have these layers

* tweak(format): Add DVD negation to Remux CF

* fix(format): Fixed BTN Atmos Condition

- Wasn't set properly due to rename bug
- Add basic tests

* add(format): SDR Negation in HDR (Missing)

- Negate HDR when SDR is explicitly

* tweak(regex): Optional seperator between TrueHDA and 7.1

* tweak(regex): Add HDS to Missing HDR groups

* add(profile): Match and negate remuxes from UHDBits

- release titles never include audio

* tweak(regex): Add Aisha to missing HDR Groups

* tweak(regex): make @RFX Optional in Aisha match
This commit is contained in:
santiagosayshey
2025-01-12 03:49:35 +10:30
committed by GitHub
parent ecbd42749b
commit 7833789f87
21 changed files with 789 additions and 34 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,51 @@
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-11T23:15:36.540509'
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-11T23:15:36.540509'
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-11T23:15:36.540509'
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-11T23:15:36.540509'
matchSpan:
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
lastRun: '2025-01-11T23:15:36.540509'
matchSpan:
end: 43
start: 32
matchedContent: TrueHDA.7.1
matchedGroups: []
passes: true

View File

@@ -0,0 +1,15 @@
name: Bracketed Year
pattern: \[\d{4}\]
description: Match a year moniker inside square brackets
tags: []
tests:
- expected: true
id: 1
input: Loki S01 [2021] 2160p HEVC Blu-Ray Remux HDR10 -SiCFoI
lastRun: '2025-01-12T00:57:33.563808'
matchSpan:
end: 15
start: 9
matchedContent: '[2021]'
matchedGroups: []
passes: true

View File

@@ -1,7 +1,44 @@
name: HDR10 (Missing Groups)
pattern: \b(FraMeSToR|HQMUX|SiCFoI|playBD|RYU|ElNeekster|CiNEPHiLES|3L|EDV|Kenobi|TRiToN|HDH|NTb|Flights)\b
pattern: \b(FraMeSToR|HQMUX|SiCFoI|playBD|RYU|ElNeekster|CiNEPHiLES|3L|EDV|Kenobi|TRiToN|HDH|NTb|Flights|TekMUX|HDS|Aisha(@RFX)?)\b
description: Matches groups who mislabel HDR10
tags:
- Release Group
- HDR
tests: []
tests:
- expected: true
id: 1
input: Loki S01 2023 2160p UHD Blu-ray Remux HEVC TrueHD 7 1 Atmos-HDS
lastRun: '2025-01-12T01:22:17.490763'
matchSpan:
end: 63
start: 60
matchedContent: HDS
matchedGroups:
- HDS
- null
passes: true
- expected: true
id: 2
input: "\t Loki S01 REPACK UHD BluRay 2160p TrueHD Atmos 7.1 DV HEVC HYBRID REMUX-FraMeSToR"
lastRun: '2025-01-12T01:22:17.490763'
matchSpan:
end: 82
start: 73
matchedContent: FraMeSToR
matchedGroups:
- FraMeSToR
- null
passes: true
- expected: true
id: 3
input: Alien Romulus 2024 BluRay 2160p UHD REMUX HEVC (10bit) DV Atmos DTS-HD MA
7 1-Aisha@RFX
lastRun: '2025-01-12T01:22:17.490763'
matchSpan:
end: 87
start: 78
matchedContent: Aisha@RFX
matchedGroups:
- Aisha@RFX
- '@RFX'
passes: true

View File

@@ -0,0 +1,91 @@
name: Non Retail HDR Formats
pattern: (?:(?<=^(?!.*\b(HLG|PQ|SDR)(\b|\d)).*?)HDR10(\+|P(lus)?))|\b(dv(?![ .](HLG|SDR))|dovi|dolby[
.]?vision)\b
description: 'Matches Dolby Vision OR HDR10+. Needed to match release groups who create
custom HDR layers. '
tags:
- Enhancement
- Colour Grade
- HDR
tests:
- expected: true
id: 5
input: MovieName.1080p.DV.mkv
lastRun: '2025-01-06T14:39:44.667920'
matchSpan:
end: 18
start: 16
matchedContent: DV
matchedGroups:
- null
- null
- null
- null
- DV
- null
passes: true
- expected: true
id: 6
input: MovieName.4K.Dolby Vision.IMAX.mkv
lastRun: '2025-01-06T14:39:44.667920'
matchSpan:
end: 25
start: 13
matchedContent: Dolby Vision
matchedGroups:
- null
- null
- null
- null
- Dolby Vision
- null
passes: true
- expected: false
id: 7
input: MovieName.2023.4K.DV.HLG.mkv
lastRun: '2025-01-06T14:39:44.667920'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: false
id: 8
input: MovieName.2023.4K.DV.SDR.mkv
lastRun: '2025-01-06T14:39:44.667920'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: true
id: 9
input: MovieName.4K.DV.SDR.Dovi.mkv
lastRun: '2025-01-06T14:39:44.667920'
matchSpan:
end: 24
start: 20
matchedContent: Dovi
matchedGroups:
- null
- null
- null
- null
- Dovi
- null
passes: true
- expected: true
id: 10
input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10+ TrueHD
Atmos 7.1 English-WiLDCAT
lastRun: '2025-01-06T14:39:44.667920'
matchSpan:
end: 61
start: 59
matchedContent: DV
matchedGroups:
- null
- null
- null
- null
- DV
- null
passes: true

View File

@@ -0,0 +1,28 @@
name: Non Retail HDR Groups
pattern: (?<=^|[\s.-])VECTOR|BiTOR|DepraveD|SasukeducK|tarunk9c|jennaortegaUHD\b
description: Matches groups that produce non retail HDR.
tags:
- Release Group
- HDR
- Unwanted
tests:
- expected: true
id: 1
input: Longlegs 2024 2160p BluRay REMUX DTS-HD MA 5 1 DV HDR H 265-SasukeducK
lastRun: '2025-01-11T05:45:15.414689'
matchSpan:
end: 70
start: 60
matchedContent: SasukeducK
matchedGroups: []
passes: true
- expected: true
id: 2
input: Blade Runner 2049 2017 2160p REMUX HEVC DV HDR10+ TrueHD 7.1 Atmos-jennaortegaUHD
lastRun: '2025-01-11T05:45:15.414689'
matchSpan:
end: 81
start: 67
matchedContent: jennaortegaUHD
matchedGroups: []
passes: true

27
regex_patterns/SDR.yml Normal file
View File

@@ -0,0 +1,27 @@
name: SDR
pattern: \bSDR\b
description: 'Explicitly matches labelled Standard Dynamic Range, i.e. "SDR" '
tags:
- HDR
tests:
- expected: true
id: 1
input: Yojimbo.1961.REPACK.2160p.UHD.Blu-ray.Remux.SDR.HEVC.FLAC.1.0-CiNEPHiLES.mkv
lastRun: '2025-01-11T22:58:34.197378'
matchSpan:
end: 47
start: 44
matchedContent: SDR
matchedGroups: []
passes: true
- expected: true
id: 2
input: "For a Few Dollars More aka Per qualche dollaro in pi\xF9 1965 UHD BluRay\
\ 2160p DTS-HD MA 5.1 SDR HEVC REMUX-FraMeSToR"
lastRun: '2025-01-11T22:58:34.197378'
matchSpan:
end: 93
start: 90
matchedContent: SDR
matchedGroups: []
passes: true

View File

@@ -1,5 +1,5 @@
name: TrueHD (Missing Groups)
pattern: (?<=^|[\s.-])TRiToN|EPSiLON|NoGroup\b
pattern: (?<=^|[\s.-])TRiToN|EPSiLON|NoGroup|PmP\b
description: Matches groups who mislabel TrueHD
tags:
- Release Group