Refactor German DL 2 format and add description

Updated specifications to conditions and added description.
This commit is contained in:
Dominik Masur 2025-12-09 23:44:37 +01:00 committed by GitHub
parent e74a36e159
commit 89274eaca7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,31 +1,20 @@
name: "German DL 2",
includeCustomFormatWhenRenaming: false,
specifications": [
{
name: "NOT German DL",
implementation: "ReleaseTitleSpecification",
negate: true,
required: true,
fields: {
value: "(?i)german\\s*\\.?dl|(?<=\\bGerman\\b.*)(?<!\\bWEB[-_. ])\\bDL\\b|\\[DE\\+[a-z]{2}\\]|\\[[a-z]{2}\\+DE\\]|ger,\\s*[a-z]{3}\\]|\\[[a-z]{3}\\s*,\\s*ger\\]"
}
},
{
name: "German",
implementation: "LanguageSpecification",
negate: false,
required: true,
fields: {
value: 4
}
},
{
name: "English",
implementation: "LanguageSpecification",
negate: false,
required: true,
fields: {
value: 1
}
}
]
name: TRaSH German DL 2
description: "Matches German-English dual audio releases without DL tags in title"
conditions:
- name: NOT German DL
negate: true
required: true
type: release_title
pattern: (?i)german\s*\.?dl|(?<=\bGerman\b.*)(?<!\bWEB[-_. ])\bDL\b|\[DE\+[a-z]{2}\]|\[[a-z]{2}\+DE\]|ger,\s*[a-z]{3}\]|\[[a-z]{3}\s*,\s*ger\]
- name: German
negate: false
required: true
type: language
language: german
- name: English
negate: false
required: true
type: language
language: english
tests: []
includeCustomFormatWhenRenaming: false