feat(format): Add remaining codec formats

- Blu-ray Remux
- Full Disc
- Xvid
This commit is contained in:
santiagosayshey
2024-12-08 23:22:50 +10:50
parent c00db48d60
commit 06f2e63ff8
5 changed files with 320 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
name: Blu-ray Remux
description: A Blu-ray Remux is a direct rip of a Blu-ray's content without any re-encoding,
preserving the original video, audio, and subtitle quality. It retains the exact
resolution, bitrate, and format of the Blu-ray, ensuring no loss in fidelity compared
to the source.
tags:
- Lossless
conditions:
- name: Blu-ray
type: source
required: true
negate: false
source: bluray
- name: Remux
type: release_title
required: true
negate: false
pattern: Remux
tests:
- conditionResults:
- matches: true
name: Remux
negate: false
pattern: Remux
required: true
type: release_title
expected: true
id: 1
input: Transformers One 2024 UHD BluRay 2160p TrueHD Atmos 7.1 DV HEVC REMUX-FraMeSToR
lastRun: '2024-12-08T22:51:21.648210'
passes: true

View File

@@ -0,0 +1,57 @@
name: Full Disc
description: 'Matches the ''Full Disc'' regex pattern and negates any remuxes / encodes. '
tags:
- Storage
- Source
conditions:
- name: Full Disc
negate: false
pattern: Full Disc
required: true
type: release_title
- name: x264
negate: true
pattern: x264
required: false
type: release_title
- name: x265
negate: true
pattern: x265
required: false
type: release_title
- name: Remux
negate: true
pattern: Remux
required: false
type: release_title
tests:
- conditionResults:
- matches: true
name: Full Disc
negate: false
pattern: Full Disc
required: true
type: release_title
- matches: false
name: x264
negate: true
pattern: x264
required: false
type: release_title
- matches: false
name: x265
negate: true
pattern: x265
required: false
type: release_title
- matches: true
name: Remux
negate: true
pattern: Remux
required: false
type: release_title
expected: false
id: 1
input: Isolani 2017 1080p BluRay REMUX AVC DTS-HD MA 5.1-Parapluie
lastRun: '2024-12-08T22:57:56.281360'
passes: true

11
custom_formats/Xvid.yml Normal file
View File

@@ -0,0 +1,11 @@
name: Xvid
description: Matches 'Xvid' regex pattern.
tags:
- Codec
conditions:
- name: Xvid
type: release_title
required: true
negate: false
pattern: Xvid
tests: []

View File

@@ -0,0 +1,192 @@
name: Full Disc
pattern: ^(?!.*\b((?<!HD[._ -]|HD)DVD|BDRip|MKV|XviD|WMV|d3g|BDREMUX|REMUX|^(?=.*1080p)(?=.*HEVC)|[xh][-_.
]?26[45]|German.*DL|((?<=\d{4}).*German.*(DL)?)(?=.*\b(AVC|HEVC|VC[-_. ]?1|MVC|MPEG[-_.
]?2)\b))\b)(((?=.*\b(Blu[-_. ]?ray|BD|HD[-_. ]?DVD)\b)(?=.*\b(AVC|HEVC|VC[-_. ]?1|MVC|MPEG[-_.
]?2|BDMV|ISO)\b))|^((?=.*\b(^((?=.*\b((.*_)?COMPLETE.*|Dis[ck])\b)(?=.*(Blu[-_.
]?ray|HD[-_. ]?DVD)))|3D[-_. ]?BD|BR[-_. ]?DISK|Full[-_. ]?Blu[-_. ]?ray|^((?=.*((BD|UHD)[-_.
]?(25|50|66|100|ISO)))))))).*|(?i)(DVD9|DVD5|NTSC|PAL|VOB IFO|VC-1|AVC|MPEG-2|\bCOMPLETE[-.\s]?(?:UHD[-.\s])?BLU[-.\s]?RAY\b|\bCOMPLETE
BLURAY\b|\bBR-Disk\b)
description: A Full Disc release refers to a complete copy of a physical media disc,
such as a DVD or Blu-ray, preserving all original content including menus, bonus
features, and multiple audio or subtitle tracks. Unlike compressed or re-encoded
formats, Full Disc files maintain the full structure and quality of the original
disc, often stored as ISO files or folders like BDMV for Blu-rays. These releases
are ideal for users seeking an authentic, unaltered experience identical to using
the physical disc.
tags:
- Storage
tests:
- expected: true
id: 1
input: Bleach.S14.NTSC.DVD.LPCM2.0-NOGRP
lastRun: '2024-12-08T22:54:52.791014'
matchSpan:
end: 15
start: 11
matchedContent: NTSC
matchedGroups:
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
- NTSC
passes: true
- expected: true
id: 2
input: "The Prisoner 2009 S01 1080i Blu-ray AVC DTS-HD MA 5.1-CultFilms\u2122"
lastRun: '2024-12-08T22:54:52.791014'
matchSpan:
end: 64
start: 0
matchedContent: "The Prisoner 2009 S01 1080i Blu-ray AVC DTS-HD MA 5.1-CultFilms\u2122"
matchedGroups:
- null
- null
- null
- null
- ''
- ''
- Blu-ray
- AVC
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
passes: true
- expected: true
id: 3
input: Scissor.Penis.2018.1080i.Blu-ray.AVC.DTS-HD.MA.2.0
lastRun: '2024-12-08T22:54:52.791014'
matchSpan:
end: 50
start: 0
matchedContent: Scissor.Penis.2018.1080i.Blu-ray.AVC.DTS-HD.MA.2.0
matchedGroups:
- null
- null
- null
- null
- ''
- ''
- Blu-ray
- AVC
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
passes: true
- expected: true
id: 4
input: "Heaven's Prisoners 1996 1080p AUS Blu-ray AVC LPCM 2.0-CultFilms\u2122"
lastRun: '2024-12-08T22:54:52.791014'
matchSpan:
end: 65
start: 0
matchedContent: "Heaven's Prisoners 1996 1080p AUS Blu-ray AVC LPCM 2.0-CultFilms\u2122"
matchedGroups:
- null
- null
- null
- null
- ''
- ''
- Blu-ray
- AVC
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
passes: true
- expected: true
id: 5
input: Hors-saison.2024.VOF.1080p.FRA.BluRay.AVC.DTS-HD.MA.5.1-RyanHG
lastRun: '2024-12-08T22:54:52.791014'
matchSpan:
end: 62
start: 0
matchedContent: Hors-saison.2024.VOF.1080p.FRA.BluRay.AVC.DTS-HD.MA.5.1-RyanHG
matchedGroups:
- null
- null
- null
- null
- ''
- ''
- BluRay
- AVC
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
- null
passes: true
- expected: true
id: 6
input: El.Aviso.2018.SPANiSH.COMPLETE.BLURAY-CEBCOM
lastRun: '2024-12-08T22:54:52.791014'
matchSpan:
end: 44
start: 0
matchedContent: El.Aviso.2018.SPANiSH.COMPLETE.BLURAY-CEBCOM
matchedGroups:
- null
- null
- null
- null
- ''
- null
- null
- null
- ''
- ''
- ''
- COMPLETE.BLURAY-CEBCOM
- null
- BLURAY
- null
- null
- null
- null
- null
passes: true

29
regex_patterns/Xvid.yml Normal file
View File

@@ -0,0 +1,29 @@
name: Xvid
pattern: (?i)[-. ]Xvid
description: 'Xvid is a video codec based on the MPEG-4 Part 2 standard, designed
for efficient compression while maintaining good visual quality. It is commonly
used for encoding videos into smaller file sizes suitable for online sharing or
storage, often paired with MP3 or AAC audio. '
tags:
- Codec
tests:
- expected: true
id: 1
input: U2.Vertigo.Live.From.Chicago.720p.AC3.5.1ch.Xvid
lastRun: '2024-12-08T22:47:07.712482'
matchSpan:
end: 48
start: 43
matchedContent: .Xvid
matchedGroups: []
passes: true
- expected: true
id: 2
input: Britney Spears-Toxic-Hdtv-720P-Xvid.avi
lastRun: '2024-12-08T22:47:07.712482'
matchSpan:
end: 35
start: 30
matchedContent: -Xvid
matchedGroups: []
passes: true