Files
database/regex_patterns/Repack1.yml
Samuel Chau 5d303f9d39 refactor(everything): various improvements from seraphys' working branch (#62)
- create(profile): 720p Quality
- create(format): 720p Quality tiers based on 720p GPPi data
- create(format): Unwanted groups for WEBRip, remux and general
- create(format): HDR formats for HLG, PQ
- create(format): Streaming services (Hotstar, IQIYI, Kocowa, Now, Showtime, TVING, VIKI, VIU, WAVVE, WeTV)
- create(format): Remux tiers
- create(format): WEBDL tiers
- create(format): Season Pack
- create(format): VP9 codec
- create(regex): Various release groups, notably Remux and WEBDL 

- tweak(format): Change from web-dl negation to bluray requirement inside group tiers
- tweak(format): Manual group ranking tweaks for 2160p quality
- tweak(format): Improved sorting. Tags / conditions are now alphabetical
- tweak(format): Add source negations to full disc to stop it from matching remuxes and web stuff
- tweak(format): Add streaming service rename conditions
- tweak(format): Revised x265/h265 usage to negate unwanted stuff rather than uprank wanted stuff

- remove(format): BeyondHD. Added to unwanted groups
- remove(format): Scene. Scoring now treats scene encodes as unknown and defaults to indexer priority. 

Co-authored-by: Seraphys <156842860+xshatterx@users.noreply.github.com>
2025-06-19 12:07:18 +09:30

86 lines
1.8 KiB
YAML

name: Repack1
pattern: \b(re(pack|rip)|proper)\b
description: 'Matches ''PROPER'' or ''REPACK'' or ''RERIP'' only when they appear
after a year (4 digits) but not before one.
* `(?<=.*?\d{4}.*?)` - look for a 4-digit number before
* `\b(re(pack|rip)|proper)\b` - match proper/repack/rerip'
tags:
- Repack
- Flag
tests:
- expected: true
id: 1
input: The Zone of Interest 2023 PROPER 2160p UHD BluRay TrueHD 7.1 Atmos HDR x265-MainFrame
lastRun: '2025-06-17T18:42:29.675411'
matchSpan:
end: 32
start: 26
matchedContent: PROPER
matchedGroups:
- PROPER
- null
passes: true
- expected: false
id: 2
input: Proper.Pronouns.2020.720p.WEB-DL.AAC2.0.x264-ZTR.mkv
lastRun: '2025-06-17T18:42:29.675411'
matchSpan:
end: 6
start: 0
matchedContent: Proper
matchedGroups:
- Proper
- null
passes: false
- expected: true
id: 3
input: Proper.Pronouns.2020.720p.PROPER.WEB-DL.AAC2.0.x264-ZTR.mkv
lastRun: '2025-06-17T18:42:29.675411'
matchSpan:
end: 6
start: 0
matchedContent: Proper
matchedGroups:
- Proper
- null
passes: true
- expected: true
id: 4
input: Sonic.the.Hedgehog.3.2024.REPACK.2160p.WEB-DL.DDP5.1.Atmos.DoVi.HDR.H.265-FLUX
lastRun: '2025-06-17T18:42:29.675411'
matchSpan:
end: 32
start: 26
matchedContent: REPACK
matchedGroups:
- REPACK
- PACK
passes: true
- expected: true
id: 5
input: roommate.wanted.2015.rerip.720p.bluray.x264-rusted.mkv
lastRun: '2025-06-17T18:42:29.675411'
matchSpan:
end: 26
start: 21
matchedContent: rerip
matchedGroups:
- rerip
- rip
passes: true
- expected: true
id: 6
input: Game of Thrones S01 REPACK 2160p MAX WEB-DL TrueHD 7.1 Atmos DV HDR H.265-Kitsune
lastRun: '2025-06-17T18:42:29.675411'
matchSpan:
end: 26
start: 20
matchedContent: REPACK
matchedGroups:
- REPACK
- PACK
passes: true