fix(format): HDR improvements (#50)

- fixed a issue where HDR was matching both HDR10 & 10+
- fixed an issue where unknown lossless audio was matching for TrueHD releases / missing groups
- added a new 'general HDR' CF which matches HDR that isn't HDR10 nor HDR10+
- added an optional any character between HDR10 and +
This commit is contained in:
Samuel Chau
2025-04-05 09:28:33 +10:30
committed by GitHub
parent 3b40d67dbb
commit 03a63e2459
16 changed files with 264 additions and 193 deletions

View File

@@ -1,19 +1,20 @@
name: HDR10 (Missing)
description: Attempts to match HDR10 to groups that mislabel their releases
description: Attempts to match HDR10 to groups that mislabel their releases. *This
does not work properly in sonarr.*
tags:
- Colour Grade
- HDR
conditions:
- name: Blu-ray
negate: false
required: true
source: bluray
type: source
- name: 2160p
negate: false
required: true
resolution: 2160p
type: resolution
- name: Blu-ray
type: source
required: true
negate: false
source: bluray
- name: Not HDR10
negate: true
pattern: HDR10
@@ -29,6 +30,11 @@ conditions:
pattern: SDR
required: true
type: release_title
- name: Not HDR
type: release_title
required: true
negate: true
pattern: HDR
tests:
- conditionResults:
- matches: false