mirror of
https://github.com/Dictionarry-Hub/database.git
synced 2025-12-10 07:46:58 +00:00
feat(format): Add format for identifying missing h265 in files
- Check for specific groups, file markers (mkv, mp4), and WEB source - Negate if h265 already
This commit is contained in:
92
custom_formats/h265 (Missing).yml
Normal file
92
custom_formats/h265 (Missing).yml
Normal file
@@ -0,0 +1,92 @@
|
||||
name: h265 (Missing)
|
||||
description: 'Attempts to match fix h265 matching for release groups who mark their
|
||||
WEB-DLs as "HEVC". '
|
||||
tags:
|
||||
- Codec
|
||||
conditions:
|
||||
- name: Release Group
|
||||
negate: false
|
||||
pattern: h265 WEB Groups
|
||||
required: true
|
||||
type: release_group
|
||||
- name: WEB-DL
|
||||
negate: false
|
||||
required: true
|
||||
source: web_dl
|
||||
type: source
|
||||
- name: Filename
|
||||
negate: false
|
||||
pattern: mkv
|
||||
required: true
|
||||
type: release_title
|
||||
- name: x265 | HEVC
|
||||
negate: false
|
||||
pattern: x265
|
||||
required: true
|
||||
type: release_title
|
||||
- name: Not h265
|
||||
negate: true
|
||||
pattern: h265
|
||||
required: false
|
||||
type: release_title
|
||||
tests:
|
||||
- conditionResults:
|
||||
- matches: true
|
||||
name: Release Group
|
||||
negate: false
|
||||
pattern: h265 WEB Groups
|
||||
required: true
|
||||
type: release_group
|
||||
- matches: false
|
||||
name: Filename
|
||||
negate: false
|
||||
pattern: mkv
|
||||
required: true
|
||||
type: release_title
|
||||
- matches: false
|
||||
name: x265 | HEVC
|
||||
negate: false
|
||||
pattern: x265
|
||||
required: true
|
||||
type: release_title
|
||||
- matches: true
|
||||
name: Not h265
|
||||
negate: true
|
||||
pattern: h265
|
||||
required: false
|
||||
type: release_title
|
||||
expected: false
|
||||
id: 1
|
||||
input: Full Metal Jacket (1987) (1080p HMAX WEB-DL H265 SDR DD 5.1 English - SiGLA)
|
||||
lastRun: '2024-12-12T06:07:38.699292'
|
||||
passes: true
|
||||
- conditionResults:
|
||||
- matches: true
|
||||
name: Release Group
|
||||
negate: false
|
||||
pattern: h265 WEB Groups
|
||||
required: true
|
||||
type: release_group
|
||||
- matches: true
|
||||
name: Filename
|
||||
negate: false
|
||||
pattern: mkv
|
||||
required: true
|
||||
type: release_title
|
||||
- matches: true
|
||||
name: x265 | HEVC
|
||||
negate: false
|
||||
pattern: x265
|
||||
required: true
|
||||
type: release_title
|
||||
- matches: false
|
||||
name: Not h265
|
||||
negate: true
|
||||
pattern: h265
|
||||
required: false
|
||||
type: release_title
|
||||
expected: true
|
||||
id: 2
|
||||
input: Full.Metal.Jacket.1987.1080p.HMAX.WEB-DL.DD5.1.HEVC-SiGLA.mkv
|
||||
lastRun: '2024-12-12T06:07:38.699292'
|
||||
passes: true
|
||||
16
regex_patterns/SiGLA.yml
Normal file
16
regex_patterns/SiGLA.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
name: SiGLA
|
||||
pattern: (?<=^|[\s.-])SiGLA\b
|
||||
description: ''
|
||||
tags:
|
||||
- Release Group
|
||||
tests:
|
||||
- expected: true
|
||||
id: 1
|
||||
input: Full.Metal.Jacket.1987.1080p.HMAX.WEB-DL.DD5.1.HEVC-SiGLA.mkv
|
||||
lastRun: '2024-12-11T05:23:38.079493'
|
||||
matchSpan:
|
||||
end: 57
|
||||
start: 52
|
||||
matchedContent: SiGLA
|
||||
matchedGroups: []
|
||||
passes: true
|
||||
16
regex_patterns/h265 WEB Groups.yml
Normal file
16
regex_patterns/h265 WEB Groups.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
name: h265 WEB Groups
|
||||
pattern: (?<=^|[\s.-])SiGLA\b
|
||||
description: Attempts to match groups who label their h265 WEB-DLs as HEVC.
|
||||
tags:
|
||||
- Release Group
|
||||
tests:
|
||||
- expected: true
|
||||
id: 1
|
||||
input: Full.Metal.Jacket.1987.1080p.HMAX.WEB-DL.DD5.1.HEVC-SiGLA.mkv
|
||||
lastRun: '2024-12-12T06:05:25.670476'
|
||||
matchSpan:
|
||||
end: 57
|
||||
start: 52
|
||||
matchedContent: SiGLA
|
||||
matchedGroups: []
|
||||
passes: true
|
||||
24
regex_patterns/h265.yml
Normal file
24
regex_patterns/h265.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
name: h265
|
||||
pattern: (?i)h\s*\.?\s*265
|
||||
description: A video compression standard that delivers higher efficiency than H.264,
|
||||
enabling better quality at lower bitrates, ideal for 4K and HDR content.
|
||||
tags:
|
||||
- Codec
|
||||
tests:
|
||||
- expected: false
|
||||
id: 1
|
||||
input: Aqua Teen Hunger Force (2000) S00E13 (480p DVD x265 SDR AAC 2.0 English -
|
||||
r00t QxR)
|
||||
lastRun: '2024-12-12T06:03:40.849548'
|
||||
matchSpan: null
|
||||
matchedContent: null
|
||||
matchedGroups: []
|
||||
passes: true
|
||||
- expected: false
|
||||
id: 2
|
||||
input: Planet Earth II S01 REPACK UHD BluRay 2160p DD5.1 HDR x265-BHDStudio
|
||||
lastRun: '2024-12-12T06:03:40.849548'
|
||||
matchSpan: null
|
||||
matchedContent: null
|
||||
matchedGroups: []
|
||||
passes: true
|
||||
27
regex_patterns/mkv.yml
Normal file
27
regex_patterns/mkv.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: mkv
|
||||
pattern: .mkv|.mp4
|
||||
description: Matches MKV and MP4 containers. Helps to differentiate file names from
|
||||
torrent names.
|
||||
tags:
|
||||
- Container
|
||||
tests:
|
||||
- expected: true
|
||||
id: 1
|
||||
input: Full.Metal.Jacket.1987.1080p.HMAX.WEB-DL.DD5.1.HEVC-SiGLA.mkv
|
||||
lastRun: '2024-12-11T05:19:13.022900'
|
||||
matchSpan:
|
||||
end: 61
|
||||
start: 57
|
||||
matchedContent: .mkv
|
||||
matchedGroups: []
|
||||
passes: true
|
||||
- expected: true
|
||||
id: 2
|
||||
input: "Don\u2019t Move \u201CDirected by Anthony Melton\u201D_HD_1920x1080_tt2846600.mp4"
|
||||
lastRun: '2024-12-11T05:19:13.022900'
|
||||
matchSpan:
|
||||
end: 66
|
||||
start: 62
|
||||
matchedContent: .mp4
|
||||
matchedGroups: []
|
||||
passes: true
|
||||
@@ -1,5 +1,5 @@
|
||||
name: x265
|
||||
pattern: ^(?!.*(?i:remux)).*([x]\s?(\.?265))
|
||||
pattern: ^(?!.*(?i:remux))(?=.*(\b[x]\s?(\.?265)\b|HEVC|\bDS4K\b)).*$
|
||||
description: 'An open source encoder that produces H.265 videos. '
|
||||
tags:
|
||||
- Encoder
|
||||
@@ -9,11 +9,12 @@ tests:
|
||||
id: 1
|
||||
input: Aqua Teen Hunger Force (2000) S00E13 (480p DVD x265 SDR AAC 2.0 English -
|
||||
r00t QxR)
|
||||
lastRun: '2024-12-07T00:23:36.965771'
|
||||
lastRun: '2024-12-12T06:07:21.505075'
|
||||
matchSpan:
|
||||
end: 51
|
||||
end: 83
|
||||
start: 0
|
||||
matchedContent: Aqua Teen Hunger Force (2000) S00E13 (480p DVD x265
|
||||
matchedContent: Aqua Teen Hunger Force (2000) S00E13 (480p DVD x265 SDR AAC 2.0
|
||||
English - r00t QxR)
|
||||
matchedGroups:
|
||||
- x265
|
||||
- '265'
|
||||
@@ -21,11 +22,11 @@ tests:
|
||||
- expected: true
|
||||
id: 2
|
||||
input: Planet Earth II S01 REPACK UHD BluRay 2160p DD5.1 HDR x265-BHDStudio
|
||||
lastRun: '2024-12-07T00:23:36.965771'
|
||||
lastRun: '2024-12-12T06:07:21.505075'
|
||||
matchSpan:
|
||||
end: 58
|
||||
end: 68
|
||||
start: 0
|
||||
matchedContent: Planet Earth II S01 REPACK UHD BluRay 2160p DD5.1 HDR x265
|
||||
matchedContent: Planet Earth II S01 REPACK UHD BluRay 2160p DD5.1 HDR x265-BHDStudio
|
||||
matchedGroups:
|
||||
- x265
|
||||
- '265'
|
||||
|
||||
Reference in New Issue
Block a user