fix(starr): Upscaled CF not matching on certain naming (#2019)

* fix(starr): Upscaled CF not matching on certain naming

* fix(starr): prevent false positives for AI Upscales condition
pull/2025/head
nuxen 4 months ago committed by GitHub
parent b2402539a0
commit ffd1f81278
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -3,7 +3,7 @@
"trash_scores": { "trash_scores": {
"default": -10000 "default": -10000
}, },
"trash_regex": "https://regex101.com/r/MDx42o/1", "trash_regex": "https://regex101.com/r/MDx42o/latest",
"name": "Upscaled", "name": "Upscaled",
"includeCustomFormatWhenRenaming": false, "includeCustomFormatWhenRenaming": false,
"specifications": [ "specifications": [
@ -13,7 +13,16 @@
"negate": false, "negate": false,
"required": false, "required": false,
"fields": { "fields": {
"value": "^(?=.*\\b(HEVC)\\b)(?=.*\\b(AI)\\b)" "value": "(?<=\\b[12]\\d{3}\\b)(?=.*\\b(HEVC)\\b)(?=.*\\b(AI)\\b)"
}
},
{
"name": "AIUS",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\b(AIUS)\\b"
} }
}, },
{ {
@ -22,7 +31,7 @@
"negate": false, "negate": false,
"required": false, "required": false,
"fields": { "fields": {
"value": "\\b(Re-?grade)\\b" "value": "\\b((Upscale)?Re-?graded?)\\b"
} }
}, },
{ {

@ -3,7 +3,7 @@
"trash_scores": { "trash_scores": {
"default": -10000 "default": -10000
}, },
"trash_regex": "https://regex101.com/r/xpT0Md/1", "trash_regex": "https://regex101.com/r/xpT0Md/latest",
"name": "Upscaled", "name": "Upscaled",
"includeCustomFormatWhenRenaming": false, "includeCustomFormatWhenRenaming": false,
"specifications": [ "specifications": [
@ -13,7 +13,16 @@
"negate": false, "negate": false,
"required": false, "required": false,
"fields": { "fields": {
"value": "^(?=.*\\b(HEVC)\\b)(?=.*\\b(AI)\\b)" "value": "(?<=\\b\\d{3,4}p\\b)(?=.*\\b(HEVC)\\b)(?=.*\\b(AI)\\b)"
}
},
{
"name": "AIUS",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": false,
"fields": {
"value": "\\b(AIUS)\\b"
} }
}, },
{ {
@ -22,7 +31,7 @@
"negate": false, "negate": false,
"required": false, "required": false,
"fields": { "fields": {
"value": "\\b(Re-?grade)\\b" "value": "\\b((Upscale)?Re-?graded?)\\b"
} }
}, },
{ {

Loading…
Cancel
Save