feat(Regex + Format): Add miscellaneous extra formats

- Black and White
- 3D
- AV1
- Scene
This commit is contained in:
santiagosayshey
2024-12-13 10:00:34 +10:50
parent d6c0d62032
commit 8c73678370
8 changed files with 164 additions and 0 deletions

12
custom_formats/3D.yml Normal file
View File

@@ -0,0 +1,12 @@
name: 3D
description: Matches the '3D' Regex Pattern
tags:
- Enhancement
- Unwanted
conditions:
- name: 3D
negate: false
pattern: 3D
required: true
type: release_title
tests: []

12
custom_formats/AV1.yml Normal file
View File

@@ -0,0 +1,12 @@
name: AV1
description: Matches the 'AV1' Regex Pattern
tags:
- Codec
- Bleeding Edge
conditions:
- name: AV1
negate: false
pattern: AV1
required: true
type: release_title
tests: []

12
custom_formats/B&W.yml Normal file
View File

@@ -0,0 +1,12 @@
name: B&W
description: Matches the 'B&W' Regex Pattern
tags:
- Unwanted
- Colour Grade
conditions:
- name: B&W
negate: false
pattern: B&W
required: true
type: release_title
tests: []

15
custom_formats/Scene.yml Normal file
View File

@@ -0,0 +1,15 @@
name: Scene
description: Matches Scene regex patterns, negates any WEB-DLs.
tags: []
conditions:
- name: Scene
type: release_title
required: true
negate: false
pattern: Scene
- name: WEB-DL
type: source
required: false
negate: true
source: web_dl
tests: []

31
regex_patterns/3D.yml Normal file
View File

@@ -0,0 +1,31 @@
name: 3D
pattern: \b((bluray|bd)?3d|sbs|half[ .-]ou|half[ .-]sbs)\b
description: ''
tags:
- Enhancement
- Unwanted
tests:
- expected: true
id: 1
input: Universal.Soldier.Day.of.Reckoning.2012.1080p.BluRay.3D.H-SBS.DTS.x264-BluRay3D
lastRun: '2024-12-13T06:50:15.135830'
matchSpan:
end: 55
start: 53
matchedContent: 3D
matchedGroups:
- 3D
- null
passes: true
- expected: true
id: 2
input: Justin.And.The.Knights.Of.Valour.3D.2013.1080p.BluRay.Half-SBS.x264-BluRay3D
lastRun: '2024-12-13T06:50:15.135830'
matchSpan:
end: 35
start: 33
matchedContent: 3D
matchedGroups:
- 3D
- null
passes: true

27
regex_patterns/AV1.yml Normal file
View File

@@ -0,0 +1,27 @@
name: AV1
pattern: \bAV1\b
description: AV1, or AOMedia Video 1, is a video coding format that compresses video
files and streams while maintaining high quality.
tags:
- Codec
tests:
- expected: true
id: 1
input: Arcane S01 2160p UHD BluRay DD 5.1 DV HDR AV1-TiZU
lastRun: '2024-12-13T07:04:08.442964'
matchSpan:
end: 45
start: 42
matchedContent: AV1
matchedGroups: []
passes: true
- expected: true
id: 2
input: Up.2009.2160p.Bluray.AC3.HDR.DV.AV1-TiZU.mkv
lastRun: '2024-12-13T07:04:08.442964'
matchSpan:
end: 35
start: 32
matchedContent: AV1
matchedGroups: []
passes: true

50
regex_patterns/B&W.yml Normal file
View File

@@ -0,0 +1,50 @@
name: B&W
pattern: (?i)\bblack\s*[.-]?\s*(?:and|&)\s*[.-]?\s*white\b
description: Black and White colour grading.
tags:
- Enhancement
- Unwanted
- Colour Grade
tests:
- expected: true
id: 1
input: The Mist Black and White 2007 2160p USA UHD Blu-ray DV HDR HEVC TrueHD 7.1
Atmos-BeyondHD
lastRun: '2024-12-13T07:08:12.829611'
matchSpan:
end: 24
start: 9
matchedContent: Black and White
matchedGroups: []
passes: true
- expected: false
id: 2
input: Black and White 2002 1080p Blu-ray AVC DTS-HD MA 5.1-CultFilms
lastRun: '2024-12-13T07:08:12.829611'
matchSpan:
end: 15
start: 0
matchedContent: Black and White
matchedGroups: []
passes: false
- expected: false
id: 3
input: 'Pokemon the Movie: Black and White-Victini and Reshiram Zekrom 2011 1080p
AUS BD50 DTS-HD MA 5.1 AVC-PHOENiX'
lastRun: '2024-12-13T07:08:12.829611'
matchSpan:
end: 34
start: 19
matchedContent: Black and White
matchedGroups: []
passes: false
- expected: true
id: 4
input: Madeo 2009 Black & White Version 1080p JPN Blu-ray AVC TrueHD 5.1-kyRLS
lastRun: '2024-12-13T07:08:12.829611'
matchSpan:
end: 24
start: 11
matchedContent: Black & White
matchedGroups: []
passes: true

5
regex_patterns/Scene.yml Normal file
View File

@@ -0,0 +1,5 @@
name: Scene
pattern: (?<=^|[\s.-])SPARKS|DRONES|ROVERS|SPRINTER|GECKOS|SHORTBREHD|EDITH|FilmHD|POW4HD|HD4U|TENEIGHTY|ETHEL\b
description: Matches Scene Groups
tags: []
tests: []