Merge branch 'Dictionarry-Hub:stable' into sardinask

This commit is contained in:
nils_kiefer 2025-04-05 23:22:19 +02:00 committed by GitHub
commit eea6d3ddf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
22 changed files with 628 additions and 473 deletions

View File

@ -4206,6 +4206,39 @@
],
"_id": "HBO Max"
},
{
"name": "HDR",
"description": "Matches the 'HDR' Regex Pattern",
"tags": [
"Colour Grade",
"HDR"
],
"conditions": [
{
"name": "HDR",
"negate": false,
"pattern": "\\b(HDR)\\b",
"required": true,
"type": "release_title"
},
{
"name": "Not HDR10",
"type": "release_title",
"required": true,
"negate": true,
"pattern": "\\bHDR10(?!\\+|Plus)\\b"
},
{
"name": "Not HDR10+",
"type": "release_title",
"required": true,
"negate": true,
"pattern": "\\bHDR10.?(\\+|P(lus)?\\b)"
}
],
"tests": [],
"_id": "HDR"
},
{
"name": "HDR10 (Missing) (1080p)",
"description": "Attempts to match HDR10 in 1080p x265 Encodes labelled with x265",
@ -4214,6 +4247,13 @@
"HDR"
],
"conditions": [
{
"name": "Blu-ray",
"type": "source",
"required": true,
"negate": false,
"source": "bluray"
},
{
"name": "1080p",
"negate": false,
@ -4245,14 +4285,21 @@
{
"name": "Not HDR10+",
"negate": true,
"pattern": "(?<=^(?!.*\\b(HLG|PQ|SDR)(\\b|\\d)).*?)HDR10(\\+|P(lus)?)",
"pattern": "\\bHDR10.?(\\+|P(lus)?\\b)",
"required": true,
"type": "release_title"
},
{
"name": "Not HDR10",
"negate": true,
"pattern": "(?<=^(?!.*\\b(HLG|PQ|SDR)(\\b|\\d)).*?)HDR(?!((10)?(\\+|P(lus)?)))",
"pattern": "\\bHDR10(?!\\+|Plus)\\b",
"required": true,
"type": "release_title"
},
{
"name": "Not HDR",
"negate": true,
"pattern": "\\b(HDR)\\b",
"required": true,
"type": "release_title"
}
@ -4262,12 +4309,19 @@
},
{
"name": "HDR10 (Missing)",
"description": "Attempts to match HDR10 to groups that mislabel their releases",
"description": "Attempts to match HDR10 to groups that mislabel their releases. *This does not work properly in sonarr.*",
"tags": [
"Colour Grade",
"HDR"
],
"conditions": [
{
"name": "Blu-ray",
"negate": false,
"required": true,
"source": "bluray",
"type": "source"
},
{
"name": "2160p",
"negate": false,
@ -4275,24 +4329,17 @@
"resolution": "2160p",
"type": "resolution"
},
{
"name": "Blu-ray",
"type": "source",
"required": true,
"negate": false,
"source": "bluray"
},
{
"name": "Not HDR10",
"negate": true,
"pattern": "(?<=^(?!.*\\b(HLG|PQ|SDR)(\\b|\\d)).*?)HDR(?!((10)?(\\+|P(lus)?)))",
"pattern": "\\bHDR10(?!\\+|Plus)\\b",
"required": true,
"type": "release_title"
},
{
"name": "Not HDR10+",
"negate": true,
"pattern": "(?<=^(?!.*\\b(HLG|PQ|SDR)(\\b|\\d)).*?)HDR10(\\+|P(lus)?)",
"pattern": "\\bHDR10.?(\\+|P(lus)?\\b)",
"required": true,
"type": "release_title"
},
@ -4302,6 +4349,13 @@
"pattern": "\\bSDR\\b",
"required": true,
"type": "release_title"
},
{
"name": "Not HDR",
"type": "release_title",
"required": true,
"negate": true,
"pattern": "\\b(HDR)\\b"
}
],
"tests": [
@ -4442,7 +4496,7 @@
{
"name": "HDR10+",
"negate": false,
"pattern": "(?<=^(?!.*\\b(HLG|PQ|SDR)(\\b|\\d)).*?)HDR10(\\+|P(lus)?)",
"pattern": "\\bHDR10.?(\\+|P(lus)?\\b)",
"required": true,
"type": "release_title"
}
@ -4461,9 +4515,16 @@
{
"name": "HDR10",
"negate": false,
"pattern": "(?<=^(?!.*\\b(HLG|PQ|SDR)(\\b|\\d)).*?)HDR(?!((10)?(\\+|P(lus)?)))",
"pattern": "\\bHDR10(?!\\+|Plus)\\b",
"required": true,
"type": "release_title"
},
{
"name": "Not HDR10+",
"type": "release_title",
"required": true,
"negate": true,
"pattern": "\\bHDR10.?(\\+|P(lus)?\\b)"
}
],
"tests": [],
@ -6188,38 +6249,45 @@
"conditions": [
{
"name": "2160p",
"type": "resolution",
"required": true,
"negate": false,
"resolution": "2160p"
"required": true,
"resolution": "2160p",
"type": "resolution"
},
{
"name": "WEB-DL",
"type": "source",
"required": true,
"negate": false,
"source": "web_dl"
"required": true,
"source": "web_dl",
"type": "source"
},
{
"name": "Not HDR10+",
"type": "release_title",
"required": true,
"negate": true,
"pattern": "(?<=^(?!.*\\b(HLG|PQ|SDR)(\\b|\\d)).*?)HDR10(\\+|P(lus)?)"
"pattern": "\\bHDR10.?(\\+|P(lus)?\\b)",
"required": true,
"type": "release_title"
},
{
"name": "Not Dolby Vision",
"type": "release_title",
"required": true,
"negate": true,
"pattern": "\\b(dv(?![ .](HLG|SDR))|dovi|dolby[ .]?vision)\\b"
"pattern": "\\b(dv(?![ .](HLG|SDR))|dovi|dolby[ .]?vision)\\b",
"required": true,
"type": "release_title"
},
{
"name": "Not HDR10",
"negate": true,
"pattern": "(?<=^(?!.*\\b(HLG|PQ|SDR)(\\b|\\d)).*?)HDR(?!((10)?(\\+|P(lus)?)))",
"pattern": "\\bHDR10(?!\\+|Plus)\\b",
"required": true,
"type": "release_title"
},
{
"name": "Not HDR",
"type": "release_title",
"required": true,
"negate": true,
"pattern": "\\b(HDR)\\b"
}
],
"tests": [],
@ -7270,31 +7338,31 @@
"conditions": [
{
"name": "2160p",
"type": "resolution",
"required": true,
"negate": false,
"resolution": "2160p"
"required": true,
"resolution": "2160p",
"type": "resolution"
},
{
"name": "Blu-ray",
"type": "source",
"required": true,
"negate": false,
"source": "bluray"
"required": true,
"source": "bluray",
"type": "source"
},
{
"name": "Not DTS-HD MA",
"type": "release_title",
"required": true,
"negate": true,
"pattern": "\\b(dts[-_. ]?(ma|hd([-_. ]?ma)?|xll))(\\b|\\d)"
"pattern": "\\b(dts[-_. ]?(ma|hd([-_. ]?ma)?|xll))(\\b|\\d)",
"required": true,
"type": "release_title"
},
{
"name": "Not DTS-X",
"type": "release_title",
"required": true,
"negate": true,
"pattern": "\\b(dts[-_. :]?x)\\b(?!\\d)"
"pattern": "\\b(dts[-_. :]?x)\\b(?!\\d)",
"required": true,
"type": "release_title"
},
{
"name": "Not FLAC",
@ -7325,9 +7393,9 @@
"type": "release_title"
},
{
"name": "Not TrueHD + Atmos",
"name": "Not TrueHD",
"negate": true,
"pattern": "TrueHD + Atmos",
"pattern": "True[ .-]?HD[ .-]?",
"required": true,
"type": "release_title"
},
@ -7344,6 +7412,13 @@
"pattern": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b",
"required": true,
"type": "release_title"
},
{
"name": "Not Missing Group",
"type": "release_title",
"required": true,
"negate": true,
"pattern": "(?<=^|[\\s.-])TRiToN|EPSiLON|NoGroup|PmP\\b"
}
],
"tests": [],

File diff suppressed because one or more lines are too long

View File

@ -213,6 +213,10 @@
"name": "h265 (Missing)",
"score": -9999
},
{
"name": "HDR",
"score": -9999
},
{
"name": "HDR10",
"score": -9999
@ -221,6 +225,10 @@
"name": "HDR10 (Missing)",
"score": -9999
},
{
"name": "HDR10 (Missing) (1080p)",
"score": -9999
},
{
"name": "HDR10+",
"score": -9999
@ -478,11 +486,11 @@
"score": 10
},
{
"name": "HDR10",
"name": "HDR",
"score": 10
},
{
"name": "HDR10 (Missing)",
"name": "HDR10",
"score": 10
},
{
@ -569,6 +577,10 @@
"name": "h265 (Missing)",
"score": -9999
},
{
"name": "Non Retail HDR",
"score": -9999
},
{
"name": "Remux",
"score": -9999
@ -856,6 +868,10 @@
"name": "h265 (Missing)",
"score": -9999
},
{
"name": "HDR",
"score": -9999
},
{
"name": "HDR10",
"score": -9999
@ -864,6 +880,10 @@
"name": "HDR10 (Missing)",
"score": -9999
},
{
"name": "HDR10 (Missing) (1080p)",
"score": -9999
},
{
"name": "HDR10+",
"score": -9999
@ -1127,6 +1147,10 @@
"name": "h265 (Missing)",
"score": -9999
},
{
"name": "HDR",
"score": -9999
},
{
"name": "HDR10",
"score": -9999
@ -1381,6 +1405,10 @@
"name": "Blu-ray",
"score": 10
},
{
"name": "HDR",
"score": 10
},
{
"name": "HDR10",
"score": 10
@ -1457,58 +1485,6 @@
"name": "Unknown Lossless Audio",
"score": 5
},
{
"name": "Amazon Prime",
"score": 0
},
{
"name": "Apple TV+",
"score": 0
},
{
"name": "Criterion Channel",
"score": 0
},
{
"name": "Disney+",
"score": 0
},
{
"name": "HBO Max",
"score": 0
},
{
"name": "Hulu",
"score": 0
},
{
"name": "iTunes",
"score": 0
},
{
"name": "Max",
"score": 0
},
{
"name": "Movies Anywhere",
"score": 0
},
{
"name": "Netflix",
"score": 0
},
{
"name": "Paramount+",
"score": 0
},
{
"name": "Peacock",
"score": 0
},
{
"name": "Roku",
"score": 0
},
{
"name": "SDR",
"score": -80
@ -1866,6 +1842,10 @@
"name": "Blu-ray",
"score": 10
},
{
"name": "HDR",
"score": 10
},
{
"name": "HDR10",
"score": 10
@ -1942,58 +1922,6 @@
"name": "Unknown Lossless Audio",
"score": 5
},
{
"name": "Amazon Prime",
"score": 0
},
{
"name": "Apple TV+",
"score": 0
},
{
"name": "Criterion Channel",
"score": 0
},
{
"name": "Disney+",
"score": 0
},
{
"name": "HBO Max",
"score": 0
},
{
"name": "Hulu",
"score": 0
},
{
"name": "iTunes",
"score": 0
},
{
"name": "Max",
"score": 0
},
{
"name": "Movies Anywhere",
"score": 0
},
{
"name": "Netflix",
"score": 0
},
{
"name": "Paramount+",
"score": 0
},
{
"name": "Peacock",
"score": 0
},
{
"name": "Roku",
"score": 0
},
{
"name": "SDR",
"score": -80
@ -2281,6 +2209,10 @@
"name": "Atmos (Missing)",
"score": 10
},
{
"name": "HDR",
"score": 10
},
{
"name": "HDR10",
"score": 10
@ -2365,6 +2297,10 @@
"name": "h265 (Missing)",
"score": -9999
},
{
"name": "HDR10 (Missing) (1080p)",
"score": -9999
},
{
"name": "Non Retail HDR",
"score": -9999

View File

@ -2890,6 +2890,124 @@
"tests": [],
"_id": "HDMaNiAcS"
},
{
"name": "HDR",
"pattern": "\\b(HDR)\\b",
"description": "This regex matches a `HDR` generalisation. This can be HDR10, HDR10+, etc. ",
"tags": [
"Enhancement",
"Colour Grade",
"HDR"
],
"tests": [
{
"expected": true,
"id": 2,
"input": "HDR+",
"lastRun": "2025-04-03T04:14:14.836165",
"matchSpan": {
"end": 3,
"start": 0
},
"matchedContent": "HDR",
"matchedGroups": [
"HDR"
],
"passes": true
},
{
"expected": false,
"id": 3,
"input": "HDR10",
"lastRun": "2025-04-03T04:14:14.836165",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
"passes": true
},
{
"expected": false,
"id": 4,
"input": "HDR10+",
"lastRun": "2025-04-03T04:14:14.836165",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
"passes": true
},
{
"expected": false,
"id": 8,
"input": "HDR10",
"lastRun": "2025-04-03T04:14:14.836165",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
"passes": true
},
{
"expected": true,
"id": 9,
"input": "Barbie (2023) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR TrueHD Atmos 7.1 English-FraMeSToR",
"lastRun": "2025-04-03T04:14:14.836165",
"matchSpan": {
"end": 55,
"start": 52
},
"matchedContent": "HDR",
"matchedGroups": [
"HDR"
],
"passes": true
},
{
"expected": true,
"id": 10,
"input": "Game of Thrones (2011) S06 2160p UHD BluRay REMUX HEVC DV HDR TrueHD Atmos 7.1 English-FraMeSToR",
"lastRun": "2025-04-03T04:14:14.836165",
"matchSpan": {
"end": 61,
"start": 58
},
"matchedContent": "HDR",
"matchedGroups": [
"HDR"
],
"passes": true
},
{
"expected": false,
"id": 11,
"input": "Liu lang di qiu 2 AKA The Wandering Earth II 2023 2160p CHN UHD Blu-ray DoVi HDR10 HEVC TrueHD 7.1 Atmos-ANKO",
"lastRun": "2025-04-03T04:14:14.836165",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
"passes": true
},
{
"expected": false,
"id": 12,
"input": "Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10+ TrueHD Atmos 7.1 English-WiLDCAT",
"lastRun": "2025-04-03T04:14:14.836165",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
"passes": true
},
{
"expected": false,
"id": 13,
"input": "Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10P TrueHD Atmos 7.1 English-WiLDCAT",
"lastRun": "2025-04-03T04:14:14.836165",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
"passes": true
}
],
"_id": "HDR"
},
{
"name": "HDR10 (Missing Groups)",
"pattern": "\\b(FraMeSToR|HQMUX|SiCFoI|playBD|RYU|ElNeekster|CiNEPHiLES|3L|EDV|Kenobi|TRiToN|HDH|NTb|Flights|TekMUX|HDS|Aisha(@RFX)?|STRiKES|c0kE|mimic)\\b",
@ -2952,8 +3070,8 @@
},
{
"name": "HDR10+",
"pattern": "(?<=^(?!.*\\b(HLG|PQ|SDR)(\\b|\\d)).*?)HDR10(\\+|P(lus)?)",
"description": "This regex matches \"HDR10\" when followed by either a plus sign (\"+\"), \"P\", or \"Plus\", but only in strings that don't contain \"HLG\", \"PQ\", or \"SDR\" (when followed by either a word boundary or digit) anywhere in the text. In other words, it finds references to HDR10+ or HDR10Plus variants while excluding strings that mention other HDR-related technologies.",
"pattern": "\\bHDR10.?(\\+|P(lus)?\\b)",
"description": "This regex matches `HDR10` when followed by either a plus sign `+`, `P`, or `Plus`",
"tags": [
"Enhancement",
"Colour Grade",
@ -2964,7 +3082,7 @@
"expected": false,
"id": 1,
"input": "HDR",
"lastRun": "2024-12-13T09:52:40.529508",
"lastRun": "2025-04-05T09:25:21.372205",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
@ -2974,7 +3092,7 @@
"expected": false,
"id": 2,
"input": "HDR+",
"lastRun": "2024-12-13T09:52:40.529508",
"lastRun": "2025-04-05T09:25:21.372205",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
@ -2984,7 +3102,7 @@
"expected": false,
"id": 3,
"input": "HDR10",
"lastRun": "2024-12-13T09:52:40.529508",
"lastRun": "2025-04-05T09:25:21.372205",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
@ -2994,15 +3112,13 @@
"expected": true,
"id": 4,
"input": "HDR10+",
"lastRun": "2024-12-13T09:52:40.529508",
"lastRun": "2025-04-05T09:25:21.372205",
"matchSpan": {
"end": 6,
"start": 0
},
"matchedContent": "HDR10+",
"matchedGroups": [
null,
null,
"+",
null
],
@ -3012,7 +3128,7 @@
"expected": false,
"id": 5,
"input": "HLG HDR",
"lastRun": "2024-12-13T09:52:40.529508",
"lastRun": "2025-04-05T09:25:21.372205",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
@ -3022,7 +3138,7 @@
"expected": false,
"id": 6,
"input": "SDR HDR",
"lastRun": "2024-12-13T09:52:40.529508",
"lastRun": "2025-04-05T09:25:21.372205",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
@ -3032,7 +3148,7 @@
"expected": false,
"id": 7,
"input": "PQ HDR",
"lastRun": "2024-12-13T09:52:40.529508",
"lastRun": "2025-04-05T09:25:21.372205",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
@ -3042,15 +3158,13 @@
"expected": true,
"id": 8,
"input": "HDR10P",
"lastRun": "2024-12-13T09:52:40.529508",
"lastRun": "2025-04-05T09:25:21.372205",
"matchSpan": {
"end": 6,
"start": 0
},
"matchedContent": "HDR10P",
"matchedGroups": [
null,
null,
"P",
null
],
@ -3060,15 +3174,13 @@
"expected": true,
"id": 9,
"input": "HDR10Plus",
"lastRun": "2024-12-13T09:52:40.529508",
"lastRun": "2025-04-05T09:25:21.372205",
"matchSpan": {
"end": 9,
"start": 0
},
"matchedContent": "HDR10Plus",
"matchedGroups": [
null,
null,
"Plus",
"lus"
],
@ -3078,15 +3190,13 @@
"expected": true,
"id": 10,
"input": "Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10+ TrueHD Atmos 7.1 English-WiLDCAT",
"lastRun": "2024-12-13T09:52:40.529508",
"lastRun": "2025-04-05T09:25:21.372205",
"matchSpan": {
"end": 68,
"start": 62
},
"matchedContent": "HDR10+",
"matchedGroups": [
null,
null,
"+",
null
],
@ -3096,15 +3206,13 @@
"expected": true,
"id": 11,
"input": "La Maison S01 REPACK 2160p ATVP WEB-DL Dual-Audio DD+ 5.1 Atmos DV HDR10+ H.265-Kitsune",
"lastRun": "2024-12-13T09:52:40.529508",
"lastRun": "2025-04-05T09:25:21.372205",
"matchSpan": {
"end": 73,
"start": 67
},
"matchedContent": "HDR10+",
"matchedGroups": [
null,
null,
"+",
null
],
@ -3114,50 +3222,46 @@
"expected": false,
"id": 12,
"input": "Liu lang di qiu 2 AKA The Wandering Earth II 2023 2160p CHN UHD Blu-ray DoVi HDR10 HEVC TrueHD 7.1 Atmos-ANKO",
"lastRun": "2024-12-13T09:52:40.529508",
"lastRun": "2025-04-05T09:25:21.372205",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
"passes": true
},
{
"expected": true,
"id": 13,
"input": "Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10 Plus TrueHD Atmos 7.1 English-WiLDCAT",
"lastRun": "2025-04-05T09:25:21.372205",
"matchSpan": {
"end": 72,
"start": 62
},
"matchedContent": "HDR10 Plus",
"matchedGroups": [
"Plus",
"lus"
],
"passes": true
}
],
"_id": "HDR10+"
},
{
"name": "HDR10",
"pattern": "(?<=^(?!.*\\b(HLG|PQ|SDR)(\\b|\\d)).*?)HDR(?!((10)?(\\+|P(lus)?)))",
"description": "This regex matches \"HDR\" only in strings that do not contain \"HLG\", \"PQ\", or \"SDR\" (when followed by either a word boundary or digit) anywhere in the text, and where the \"HDR\" itself is not followed by any HDR format specifiers like \"10+\", \"+\", \"10P\", \"P\", \"10Plus\", or \"Plus\". It ensures we're matching standalone \"HDR\" references that aren't tied to any specific HDR format or appearing in strings that mention other common HDR-related technologies.",
"pattern": "\\bHDR10(?!\\+|Plus)\\b",
"description": "This regex matches `HDR10` only when it *is not* followed by any HDR format specifiers like `+`, or `Plus`. ",
"tags": [
"Enhancement",
"Colour Grade",
"HDR"
],
"tests": [
{
"expected": true,
"id": 1,
"input": "HDR",
"lastRun": "2024-12-13T09:52:16.317820",
"matchSpan": {
"end": 3,
"start": 0
},
"matchedContent": "HDR",
"matchedGroups": [
null,
null,
null,
null,
null,
null
],
"passes": true
},
{
"expected": false,
"id": 2,
"input": "HDR+",
"lastRun": "2024-12-13T09:52:16.317820",
"lastRun": "2025-04-02T20:01:38.732592",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
@ -3167,27 +3271,20 @@
"expected": true,
"id": 3,
"input": "HDR10",
"lastRun": "2024-12-13T09:52:16.317820",
"lastRun": "2025-04-02T20:01:38.732592",
"matchSpan": {
"end": 3,
"end": 5,
"start": 0
},
"matchedContent": "HDR",
"matchedGroups": [
null,
null,
null,
null,
null,
null
],
"matchedContent": "HDR10",
"matchedGroups": [],
"passes": true
},
{
"expected": false,
"id": 4,
"input": "HDR10+",
"lastRun": "2024-12-13T09:52:16.317820",
"lastRun": "2025-04-02T20:01:38.732592",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
@ -3197,7 +3294,7 @@
"expected": false,
"id": 5,
"input": "HLG HDR",
"lastRun": "2024-12-13T09:52:16.317820",
"lastRun": "2025-04-02T20:01:38.732592",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
@ -3207,7 +3304,7 @@
"expected": false,
"id": 6,
"input": "SDR HDR",
"lastRun": "2024-12-13T09:52:16.317820",
"lastRun": "2025-04-02T20:01:38.732592",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
@ -3217,7 +3314,7 @@
"expected": false,
"id": 7,
"input": "PQ HDR",
"lastRun": "2024-12-13T09:52:16.317820",
"lastRun": "2025-04-02T20:01:38.732592",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
@ -3227,87 +3324,63 @@
"expected": true,
"id": 8,
"input": "HDR10",
"lastRun": "2024-12-13T09:52:16.317820",
"lastRun": "2025-04-02T20:01:38.732592",
"matchSpan": {
"end": 3,
"end": 5,
"start": 0
},
"matchedContent": "HDR",
"matchedGroups": [
null,
null,
null,
null,
null,
null
],
"matchedContent": "HDR10",
"matchedGroups": [],
"passes": true
},
{
"expected": true,
"expected": false,
"id": 9,
"input": "Barbie (2023) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR TrueHD Atmos 7.1 English-FraMeSToR",
"lastRun": "2024-12-13T09:52:16.317820",
"matchSpan": {
"end": 55,
"start": 52
},
"matchedContent": "HDR",
"matchedGroups": [
null,
null,
null,
null,
null,
null
],
"lastRun": "2025-04-02T20:01:38.732592",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
"passes": true
},
{
"expected": true,
"expected": false,
"id": 10,
"input": "Game of Thrones (2011) S06 2160p UHD BluRay REMUX HEVC DV HDR TrueHD Atmos 7.1 English-FraMeSToR",
"lastRun": "2024-12-13T09:52:16.317820",
"matchSpan": {
"end": 61,
"start": 58
},
"matchedContent": "HDR",
"matchedGroups": [
null,
null,
null,
null,
null,
null
],
"lastRun": "2025-04-02T20:01:38.732592",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
"passes": true
},
{
"expected": true,
"id": 11,
"input": "Liu lang di qiu 2 AKA The Wandering Earth II 2023 2160p CHN UHD Blu-ray DoVi HDR10 HEVC TrueHD 7.1 Atmos-ANKO",
"lastRun": "2024-12-13T09:52:16.317820",
"lastRun": "2025-04-02T20:01:38.732592",
"matchSpan": {
"end": 80,
"end": 82,
"start": 77
},
"matchedContent": "HDR",
"matchedGroups": [
null,
null,
null,
null,
null,
null
],
"matchedContent": "HDR10",
"matchedGroups": [],
"passes": true
},
{
"expected": false,
"id": 12,
"input": "Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10+ TrueHD Atmos 7.1 English-WiLDCAT",
"lastRun": "2024-12-13T09:52:16.317820",
"lastRun": "2025-04-02T20:01:38.732592",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],
"passes": true
},
{
"expected": false,
"id": 13,
"input": "Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10P TrueHD Atmos 7.1 English-WiLDCAT",
"lastRun": "2025-04-02T20:01:38.732592",
"matchSpan": null,
"matchedContent": null,
"matchedGroups": [],

View File

@ -1,5 +1,5 @@
{
"updated_at": "2025-04-01T13:14:47.091277+00:00",
"updated_at": "2025-04-04T22:58:47.783839+00:00",
"folders": [
"custom_formats",
"profiles",

File diff suppressed because one or more lines are too long

22
custom_formats/HDR.yml Normal file
View File

@ -0,0 +1,22 @@
name: HDR
description: Matches the 'HDR' Regex Pattern
tags:
- Colour Grade
- HDR
conditions:
- name: HDR
negate: false
pattern: HDR
required: true
type: release_title
- name: Not HDR10
type: release_title
required: true
negate: true
pattern: HDR10
- name: Not HDR10+
type: release_title
required: true
negate: true
pattern: HDR10+
tests: []

View File

@ -4,6 +4,11 @@ tags:
- Colour Grade
- HDR
conditions:
- name: Blu-ray
type: source
required: true
negate: false
source: bluray
- name: 1080p
negate: false
required: true
@ -34,4 +39,9 @@ conditions:
pattern: HDR10
required: true
type: release_title
- name: Not HDR
negate: true
pattern: HDR
required: true
type: release_title
tests: []

View File

@ -1,19 +1,20 @@
name: HDR10 (Missing)
description: Attempts to match HDR10 to groups that mislabel their releases
description: Attempts to match HDR10 to groups that mislabel their releases. *This
does not work properly in sonarr.*
tags:
- Colour Grade
- HDR
conditions:
- name: Blu-ray
negate: false
required: true
source: bluray
type: source
- name: 2160p
negate: false
required: true
resolution: 2160p
type: resolution
- name: Blu-ray
type: source
required: true
negate: false
source: bluray
- name: Not HDR10
negate: true
pattern: HDR10
@ -29,6 +30,11 @@ conditions:
pattern: SDR
required: true
type: release_title
- name: Not HDR
type: release_title
required: true
negate: true
pattern: HDR
tests:
- conditionResults:
- matches: false

View File

@ -9,4 +9,9 @@ conditions:
pattern: HDR10
required: true
type: release_title
- name: Not HDR10+
type: release_title
required: true
negate: true
pattern: HDR10+
tests: []

View File

@ -5,28 +5,33 @@ tags:
- HDR
conditions:
- name: 2160p
type: resolution
required: true
negate: false
required: true
resolution: 2160p
type: resolution
- name: WEB-DL
type: source
required: true
negate: false
source: web_dl
- name: Not HDR10+
type: release_title
required: true
source: web_dl
type: source
- name: Not HDR10+
negate: true
pattern: HDR10+
- name: Not Dolby Vision
type: release_title
required: true
type: release_title
- name: Not Dolby Vision
negate: true
pattern: Dolby Vision
required: true
type: release_title
- name: Not HDR10
negate: true
pattern: HDR10
required: true
type: release_title
- name: Not HDR
type: release_title
required: true
negate: true
pattern: HDR
tests: []

View File

@ -6,25 +6,25 @@ tags:
- Audio
conditions:
- name: 2160p
type: resolution
required: true
negate: false
required: true
resolution: 2160p
type: resolution
- name: Blu-ray
type: source
required: true
negate: false
source: bluray
- name: Not DTS-HD MA
type: release_title
required: true
source: bluray
type: source
- name: Not DTS-HD MA
negate: true
pattern: DTS-HD MA
- name: Not DTS-X
type: release_title
required: true
type: release_title
- name: Not DTS-X
negate: true
pattern: DTS-X
required: true
type: release_title
- name: Not FLAC
negate: true
pattern: FLAC
@ -45,9 +45,9 @@ conditions:
pattern: DTS
required: true
type: release_title
- name: Not TrueHD + Atmos
- name: Not TrueHD
negate: true
pattern: TrueHD + Atmos
pattern: TrueHD
required: true
type: release_title
- name: Not Dolby Digital
@ -60,4 +60,9 @@ conditions:
pattern: Dolby Digital +
required: true
type: release_title
- name: Not Missing Group
type: release_title
required: true
negate: true
pattern: TrueHD (Missing Groups)
tests: []

View File

@ -120,10 +120,14 @@ custom_formats:
score: -9999
- name: h265 (Missing)
score: -9999
- name: HDR
score: -9999
- name: HDR10
score: -9999
- name: HDR10 (Missing)
score: -9999
- name: HDR10 (Missing) (1080p)
score: -9999
- name: HDR10+
score: -9999
- name: Remux

View File

@ -89,9 +89,9 @@ custom_formats:
score: 10
- name: Blu-ray
score: 10
- name: HDR10
- name: HDR
score: 10
- name: HDR10 (Missing)
- name: HDR10
score: 10
- name: HDR10 (Missing) (1080p)
score: 10
@ -135,6 +135,8 @@ custom_formats:
score: -9999
- name: h265 (Missing)
score: -9999
- name: Non Retail HDR
score: -9999
- name: Remux
score: -9999
- name: SD Bluray Encodes

View File

@ -114,10 +114,14 @@ custom_formats:
score: -9999
- name: h265 (Missing)
score: -9999
- name: HDR
score: -9999
- name: HDR10
score: -9999
- name: HDR10 (Missing)
score: -9999
- name: HDR10 (Missing) (1080p)
score: -9999
- name: HDR10+
score: -9999
- name: Remux

View File

@ -104,6 +104,8 @@ custom_formats:
score: -9999
- name: h265 (Missing)
score: -9999
- name: HDR
score: -9999
- name: HDR10
score: -9999
- name: HDR10 (Missing)

View File

@ -94,6 +94,8 @@ custom_formats:
score: 10
- name: Blu-ray
score: 10
- name: HDR
score: 10
- name: HDR10
score: 10
- name: HDR10 (Missing)
@ -132,32 +134,6 @@ custom_formats:
score: 5
- name: Unknown Lossless Audio
score: 5
- name: Amazon Prime
score: 0
- name: Apple TV+
score: 0
- name: Criterion Channel
score: 0
- name: Disney+
score: 0
- name: HBO Max
score: 0
- name: Hulu
score: 0
- name: iTunes
score: 0
- name: Max
score: 0
- name: Movies Anywhere
score: 0
- name: Netflix
score: 0
- name: Paramount+
score: 0
- name: Peacock
score: 0
- name: Roku
score: 0
- name: SDR
score: -80
- name: 2160p Blu-ray Encode

View File

@ -107,6 +107,8 @@ custom_formats:
score: 10
- name: Blu-ray
score: 10
- name: HDR
score: 10
- name: HDR10
score: 10
- name: HDR10 (Missing)
@ -145,32 +147,6 @@ custom_formats:
score: 5
- name: Unknown Lossless Audio
score: 5
- name: Amazon Prime
score: 0
- name: Apple TV+
score: 0
- name: Criterion Channel
score: 0
- name: Disney+
score: 0
- name: HBO Max
score: 0
- name: Hulu
score: 0
- name: iTunes
score: 0
- name: Max
score: 0
- name: Movies Anywhere
score: 0
- name: Netflix
score: 0
- name: Paramount+
score: 0
- name: Peacock
score: 0
- name: Roku
score: 0
- name: SDR
score: -80
- name: x265

View File

@ -72,6 +72,8 @@ custom_formats:
score: 10
- name: Atmos (Missing)
score: 10
- name: HDR
score: 10
- name: HDR10
score: 10
- name: HDR10 (Missing)
@ -114,6 +116,8 @@ custom_formats:
score: -9999
- name: h265 (Missing)
score: -9999
- name: HDR10 (Missing) (1080p)
score: -9999
- name: Non Retail HDR
score: -9999
- name: UHDBits

95
regex_patterns/HDR.yml Normal file
View File

@ -0,0 +1,95 @@
name: HDR
pattern: \b(HDR)\b
description: 'This regex matches a `HDR` generalisation. This can be HDR10, HDR10+,
etc. '
tags:
- Enhancement
- Colour Grade
- HDR
tests:
- expected: true
id: 2
input: HDR+
lastRun: '2025-04-03T04:14:14.836165'
matchSpan:
end: 3
start: 0
matchedContent: HDR
matchedGroups:
- HDR
passes: true
- expected: false
id: 3
input: HDR10
lastRun: '2025-04-03T04:14:14.836165'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: false
id: 4
input: HDR10+
lastRun: '2025-04-03T04:14:14.836165'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: false
id: 8
input: HDR10
lastRun: '2025-04-03T04:14:14.836165'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: true
id: 9
input: Barbie (2023) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR TrueHD Atmos 7.1
English-FraMeSToR
lastRun: '2025-04-03T04:14:14.836165'
matchSpan:
end: 55
start: 52
matchedContent: HDR
matchedGroups:
- HDR
passes: true
- expected: true
id: 10
input: Game of Thrones (2011) S06 2160p UHD BluRay REMUX HEVC DV HDR TrueHD Atmos
7.1 English-FraMeSToR
lastRun: '2025-04-03T04:14:14.836165'
matchSpan:
end: 61
start: 58
matchedContent: HDR
matchedGroups:
- HDR
passes: true
- expected: false
id: 11
input: Liu lang di qiu 2 AKA The Wandering Earth II 2023 2160p CHN UHD Blu-ray DoVi
HDR10 HEVC TrueHD 7.1 Atmos-ANKO
lastRun: '2025-04-03T04:14:14.836165'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: false
id: 12
input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10+ TrueHD
Atmos 7.1 English-WiLDCAT
lastRun: '2025-04-03T04:14:14.836165'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: false
id: 13
input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10P TrueHD
Atmos 7.1 English-WiLDCAT
lastRun: '2025-04-03T04:14:14.836165'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true

View File

@ -1,10 +1,7 @@
name: HDR10+
pattern: (?<=^(?!.*\b(HLG|PQ|SDR)(\b|\d)).*?)HDR10(\+|P(lus)?)
description: This regex matches "HDR10" when followed by either a plus sign ("+"),
"P", or "Plus", but only in strings that don't contain "HLG", "PQ", or "SDR" (when
followed by either a word boundary or digit) anywhere in the text. In other words,
it finds references to HDR10+ or HDR10Plus variants while excluding strings that
mention other HDR-related technologies.
pattern: \bHDR10.?(\+|P(lus)?\b)
description: This regex matches `HDR10` when followed by either a plus sign `+`, `P`,
or `Plus`
tags:
- Enhancement
- Colour Grade
@ -13,7 +10,7 @@ tests:
- expected: false
id: 1
input: HDR
lastRun: '2024-12-13T09:52:40.529508'
lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -21,7 +18,7 @@ tests:
- expected: false
id: 2
input: HDR+
lastRun: '2024-12-13T09:52:40.529508'
lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -29,7 +26,7 @@ tests:
- expected: false
id: 3
input: HDR10
lastRun: '2024-12-13T09:52:40.529508'
lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -37,21 +34,19 @@ tests:
- expected: true
id: 4
input: HDR10+
lastRun: '2024-12-13T09:52:40.529508'
lastRun: '2025-04-05T09:25:21.372205'
matchSpan:
end: 6
start: 0
matchedContent: HDR10+
matchedGroups:
- null
- null
- +
- null
passes: true
- expected: false
id: 5
input: HLG HDR
lastRun: '2024-12-13T09:52:40.529508'
lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -59,7 +54,7 @@ tests:
- expected: false
id: 6
input: SDR HDR
lastRun: '2024-12-13T09:52:40.529508'
lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -67,7 +62,7 @@ tests:
- expected: false
id: 7
input: PQ HDR
lastRun: '2024-12-13T09:52:40.529508'
lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -75,28 +70,24 @@ tests:
- expected: true
id: 8
input: HDR10P
lastRun: '2024-12-13T09:52:40.529508'
lastRun: '2025-04-05T09:25:21.372205'
matchSpan:
end: 6
start: 0
matchedContent: HDR10P
matchedGroups:
- null
- null
- P
- null
passes: true
- expected: true
id: 9
input: HDR10Plus
lastRun: '2024-12-13T09:52:40.529508'
lastRun: '2025-04-05T09:25:21.372205'
matchSpan:
end: 9
start: 0
matchedContent: HDR10Plus
matchedGroups:
- null
- null
- Plus
- lus
passes: true
@ -104,14 +95,12 @@ tests:
id: 10
input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10+ TrueHD
Atmos 7.1 English-WiLDCAT
lastRun: '2024-12-13T09:52:40.529508'
lastRun: '2025-04-05T09:25:21.372205'
matchSpan:
end: 68
start: 62
matchedContent: HDR10+
matchedGroups:
- null
- null
- +
- null
passes: true
@ -119,14 +108,12 @@ tests:
id: 11
input: La Maison S01 REPACK 2160p ATVP WEB-DL Dual-Audio DD+ 5.1 Atmos DV HDR10+
H.265-Kitsune
lastRun: '2024-12-13T09:52:40.529508'
lastRun: '2025-04-05T09:25:21.372205'
matchSpan:
end: 73
start: 67
matchedContent: HDR10+
matchedGroups:
- null
- null
- +
- null
passes: true
@ -134,8 +121,21 @@ tests:
id: 12
input: Liu lang di qiu 2 AKA The Wandering Earth II 2023 2160p CHN UHD Blu-ray DoVi
HDR10 HEVC TrueHD 7.1 Atmos-ANKO
lastRun: '2024-12-13T09:52:40.529508'
lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: true
id: 13
input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10 Plus
TrueHD Atmos 7.1 English-WiLDCAT
lastRun: '2025-04-05T09:25:21.372205'
matchSpan:
end: 72
start: 62
matchedContent: HDR10 Plus
matchedGroups:
- Plus
- lus
passes: true

View File

@ -1,36 +1,16 @@
name: HDR10
pattern: (?<=^(?!.*\b(HLG|PQ|SDR)(\b|\d)).*?)HDR(?!((10)?(\+|P(lus)?)))
description: This regex matches "HDR" only in strings that do not contain "HLG", "PQ",
or "SDR" (when followed by either a word boundary or digit) anywhere in the text,
and where the "HDR" itself is not followed by any HDR format specifiers like "10+",
"+", "10P", "P", "10Plus", or "Plus". It ensures we're matching standalone "HDR"
references that aren't tied to any specific HDR format or appearing in strings that
mention other common HDR-related technologies.
pattern: \bHDR10(?!\+|Plus)\b
description: 'This regex matches `HDR10` only when it *is not* followed by any HDR
format specifiers like `+`, or `Plus`. '
tags:
- Enhancement
- Colour Grade
- HDR
tests:
- expected: true
id: 1
input: HDR
lastRun: '2024-12-13T09:52:16.317820'
matchSpan:
end: 3
start: 0
matchedContent: HDR
matchedGroups:
- null
- null
- null
- null
- null
- null
passes: true
- expected: false
id: 2
input: HDR+
lastRun: '2024-12-13T09:52:16.317820'
lastRun: '2025-04-02T20:01:38.732592'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -38,23 +18,17 @@ tests:
- expected: true
id: 3
input: HDR10
lastRun: '2024-12-13T09:52:16.317820'
lastRun: '2025-04-02T20:01:38.732592'
matchSpan:
end: 3
end: 5
start: 0
matchedContent: HDR
matchedGroups:
- null
- null
- null
- null
- null
- null
matchedContent: HDR10
matchedGroups: []
passes: true
- expected: false
id: 4
input: HDR10+
lastRun: '2024-12-13T09:52:16.317820'
lastRun: '2025-04-02T20:01:38.732592'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -62,7 +36,7 @@ tests:
- expected: false
id: 5
input: HLG HDR
lastRun: '2024-12-13T09:52:16.317820'
lastRun: '2025-04-02T20:01:38.732592'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -70,7 +44,7 @@ tests:
- expected: false
id: 6
input: SDR HDR
lastRun: '2024-12-13T09:52:16.317820'
lastRun: '2025-04-02T20:01:38.732592'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -78,7 +52,7 @@ tests:
- expected: false
id: 7
input: PQ HDR
lastRun: '2024-12-13T09:52:16.317820'
lastRun: '2025-04-02T20:01:38.732592'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -86,75 +60,56 @@ tests:
- expected: true
id: 8
input: HDR10
lastRun: '2024-12-13T09:52:16.317820'
lastRun: '2025-04-02T20:01:38.732592'
matchSpan:
end: 3
end: 5
start: 0
matchedContent: HDR
matchedGroups:
- null
- null
- null
- null
- null
- null
matchedContent: HDR10
matchedGroups: []
passes: true
- expected: true
- expected: false
id: 9
input: Barbie (2023) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR TrueHD Atmos 7.1
English-FraMeSToR
lastRun: '2024-12-13T09:52:16.317820'
matchSpan:
end: 55
start: 52
matchedContent: HDR
matchedGroups:
- null
- null
- null
- null
- null
- null
lastRun: '2025-04-02T20:01:38.732592'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: true
- expected: false
id: 10
input: Game of Thrones (2011) S06 2160p UHD BluRay REMUX HEVC DV HDR TrueHD Atmos
7.1 English-FraMeSToR
lastRun: '2024-12-13T09:52:16.317820'
matchSpan:
end: 61
start: 58
matchedContent: HDR
matchedGroups:
- null
- null
- null
- null
- null
- null
lastRun: '2025-04-02T20:01:38.732592'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: true
id: 11
input: Liu lang di qiu 2 AKA The Wandering Earth II 2023 2160p CHN UHD Blu-ray DoVi
HDR10 HEVC TrueHD 7.1 Atmos-ANKO
lastRun: '2024-12-13T09:52:16.317820'
lastRun: '2025-04-02T20:01:38.732592'
matchSpan:
end: 80
end: 82
start: 77
matchedContent: HDR
matchedGroups:
- null
- null
- null
- null
- null
- null
matchedContent: HDR10
matchedGroups: []
passes: true
- expected: false
id: 12
input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10+ TrueHD
Atmos 7.1 English-WiLDCAT
lastRun: '2024-12-13T09:52:16.317820'
lastRun: '2025-04-02T20:01:38.732592'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: false
id: 13
input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10P TrueHD
Atmos 7.1 English-WiLDCAT
lastRun: '2025-04-02T20:01:38.732592'
matchSpan: null
matchedContent: null
matchedGroups: []