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

@@ -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