From 6a81413f5471be281847838e97338e464219629d Mon Sep 17 00:00:00 2001 From: Ada Date: Sun, 16 Jun 2024 21:33:55 -0400 Subject: [PATCH 1/7] add regex for DUAL-VARYG pattern --- docs/json/radarr/cf/anime-dual-audio.json | 2 +- docs/json/sonarr/cf/anime-dual-audio.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/json/radarr/cf/anime-dual-audio.json b/docs/json/radarr/cf/anime-dual-audio.json index e3d67d8f39..ccb471da2d 100644 --- a/docs/json/radarr/cf/anime-dual-audio.json +++ b/docs/json/radarr/cf/anime-dual-audio.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(JA|ZH)\\+EN|EN\\+(JA|ZH)" + "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG|(JA|ZH)\\+EN|EN\\+(JA|ZH)" } }, { diff --git a/docs/json/sonarr/cf/anime-dual-audio.json b/docs/json/sonarr/cf/anime-dual-audio.json index 44aad15e2b..4d5340b92e 100644 --- a/docs/json/sonarr/cf/anime-dual-audio.json +++ b/docs/json/sonarr/cf/anime-dual-audio.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(JA|ZH)\\+EN|EN\\+(JA|ZH)" + "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG|(JA|ZH)\\+EN|EN\\+(JA|ZH)" } }, { From 7f2e8725a8d38379f12ea4e55c78b6652af57da5 Mon Sep 17 00:00:00 2001 From: Ada Date: Sun, 16 Jun 2024 22:15:17 -0400 Subject: [PATCH 2/7] reinstate case insensitivity --- docs/json/radarr/cf/anime-dual-audio.json | 2 +- docs/json/sonarr/cf/anime-dual-audio.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/json/radarr/cf/anime-dual-audio.json b/docs/json/radarr/cf/anime-dual-audio.json index ccb471da2d..5aca6de52e 100644 --- a/docs/json/radarr/cf/anime-dual-audio.json +++ b/docs/json/radarr/cf/anime-dual-audio.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG|(JA|ZH)\\+EN|EN\\+(JA|ZH)" + "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)|(JA|ZH)\\+EN|EN\\+(JA|ZH)" } }, { diff --git a/docs/json/sonarr/cf/anime-dual-audio.json b/docs/json/sonarr/cf/anime-dual-audio.json index 4d5340b92e..a3d45870ce 100644 --- a/docs/json/sonarr/cf/anime-dual-audio.json +++ b/docs/json/sonarr/cf/anime-dual-audio.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG|(JA|ZH)\\+EN|EN\\+(JA|ZH)" + "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)|(JA|ZH)\\+EN|EN\\+(JA|ZH)" } }, { From 63d11d0405fea96c560cf4d49365abf3d6117d5b Mon Sep 17 00:00:00 2001 From: Ada Date: Sun, 16 Jun 2024 22:20:52 -0400 Subject: [PATCH 3/7] Add DUAL {RESOLUTION} match --- docs/json/radarr/cf/anime-dual-audio.json | 2 +- docs/json/sonarr/cf/anime-dual-audio.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/json/radarr/cf/anime-dual-audio.json b/docs/json/radarr/cf/anime-dual-audio.json index 5aca6de52e..848f6e6b0f 100644 --- a/docs/json/radarr/cf/anime-dual-audio.json +++ b/docs/json/radarr/cf/anime-dual-audio.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)|(JA|ZH)\\+EN|EN\\+(JA|ZH)" + "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)|dual[ ._-]?\\d{3,4}p|(JA|ZH)\\+EN|EN\\+(JA|ZH)" } }, { diff --git a/docs/json/sonarr/cf/anime-dual-audio.json b/docs/json/sonarr/cf/anime-dual-audio.json index a3d45870ce..76676e3723 100644 --- a/docs/json/sonarr/cf/anime-dual-audio.json +++ b/docs/json/sonarr/cf/anime-dual-audio.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)|(JA|ZH)\\+EN|EN\\+(JA|ZH)" + "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)|dual[ ._-]?\\d{3,4}p|(JA|ZH)\\+EN|EN\\+(JA|ZH)" } }, { From ee88fcac3b34df169bd32995375514a1c1e2c4c1 Mon Sep 17 00:00:00 2001 From: Ada Date: Sun, 16 Jun 2024 22:51:23 -0400 Subject: [PATCH 4/7] expand resolution matches --- docs/json/radarr/cf/anime-dual-audio.json | 3 +-- docs/json/sonarr/cf/anime-dual-audio.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/json/radarr/cf/anime-dual-audio.json b/docs/json/radarr/cf/anime-dual-audio.json index 848f6e6b0f..97c031a2ab 100644 --- a/docs/json/radarr/cf/anime-dual-audio.json +++ b/docs/json/radarr/cf/anime-dual-audio.json @@ -9,8 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)|dual[ ._-]?\\d{3,4}p|(JA|ZH)\\+EN|EN\\+(JA|ZH)" - } + "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)||(\\d{3,4}p|ultrahd|4k)[ ._-]?dual|dual[ ._-]?(\\d{3,4}p|ultrahd|4k)|(JA|ZH)\\+EN|EN\\+(JA|ZH)" } }, { "name": "Not Single Language Only", diff --git a/docs/json/sonarr/cf/anime-dual-audio.json b/docs/json/sonarr/cf/anime-dual-audio.json index 76676e3723..10730678f5 100644 --- a/docs/json/sonarr/cf/anime-dual-audio.json +++ b/docs/json/sonarr/cf/anime-dual-audio.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)|dual[ ._-]?\\d{3,4}p|(JA|ZH)\\+EN|EN\\+(JA|ZH)" + "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)||(\\d{3,4}p|ultrahd|4k)[ ._-]?dual|dual[ ._-]?(\\d{3,4}p|ultrahd|4k)|(JA|ZH)\\+EN|EN\\+(JA|ZH)" } }, { From 2685c64d03e3e6e2d32ecb4af231c491f5cbfca8 Mon Sep 17 00:00:00 2001 From: Ada Date: Sun, 16 Jun 2024 23:00:18 -0400 Subject: [PATCH 5/7] swap matches and fix formatting --- docs/json/radarr/cf/anime-dual-audio.json | 3 ++- docs/json/sonarr/cf/anime-dual-audio.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/json/radarr/cf/anime-dual-audio.json b/docs/json/radarr/cf/anime-dual-audio.json index 97c031a2ab..dead6b6563 100644 --- a/docs/json/radarr/cf/anime-dual-audio.json +++ b/docs/json/radarr/cf/anime-dual-audio.json @@ -9,7 +9,8 @@ "negate": false, "required": true, "fields": { - "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)||(\\d{3,4}p|ultrahd|4k)[ ._-]?dual|dual[ ._-]?(\\d{3,4}p|ultrahd|4k)|(JA|ZH)\\+EN|EN\\+(JA|ZH)" } + "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)|dual[ ._-]?(\\d{3,4}p|ultrahd|4k)|(\\d{3,4}p|ultrahd|4k)[ ._-]?dual|(JA|ZH)\\+EN|EN\\+(JA|ZH)" + } }, { "name": "Not Single Language Only", diff --git a/docs/json/sonarr/cf/anime-dual-audio.json b/docs/json/sonarr/cf/anime-dual-audio.json index 10730678f5..7a3efe1d79 100644 --- a/docs/json/sonarr/cf/anime-dual-audio.json +++ b/docs/json/sonarr/cf/anime-dual-audio.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)||(\\d{3,4}p|ultrahd|4k)[ ._-]?dual|dual[ ._-]?(\\d{3,4}p|ultrahd|4k)|(JA|ZH)\\+EN|EN\\+(JA|ZH)" + "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)|dual[ ._-]?(\\d{3,4}p|ultrahd|4k)|(\\d{3,4}p|ultrahd|4k)[ ._-]?dual|(JA|ZH)\\+EN|EN\\+(JA|ZH)" } }, { From ca0a89e4e51664bb272131218298d733830d550d Mon Sep 17 00:00:00 2001 From: Ada Powers <31081056+adapowers@users.noreply.github.com> Date: Sat, 29 Jun 2024 01:38:31 -0400 Subject: [PATCH 6/7] Refactor Co-authored-by: zakary --- docs/json/sonarr/cf/anime-dual-audio.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/json/sonarr/cf/anime-dual-audio.json b/docs/json/sonarr/cf/anime-dual-audio.json index 7a3efe1d79..0d45cb5aa7 100644 --- a/docs/json/sonarr/cf/anime-dual-audio.json +++ b/docs/json/sonarr/cf/anime-dual-audio.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)|dual[ ._-]?(\\d{3,4}p|ultrahd|4k)|(\\d{3,4}p|ultrahd|4k)[ ._-]?dual|(JA|ZH)\\+EN|EN\\+(JA|ZH)" + "value": "[\\[(]?(dual)([\\s._\\])-]?(audio|varyg|\\d{3,4}p|ultrahd|4k))|(\\d{3,4}p|ultrahd|4k)[\\s._-]?dual|(JA|ZH)\\+EN|EN\\+(JA|ZH)" } }, { From 41b551ee6a457ef01c0f3cd93055c85b51d1e0c4 Mon Sep 17 00:00:00 2001 From: Ada Powers <31081056+adapowers@users.noreply.github.com> Date: Sat, 29 Jun 2024 01:38:42 -0400 Subject: [PATCH 7/7] Refactor Co-authored-by: zakary --- docs/json/radarr/cf/anime-dual-audio.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/json/radarr/cf/anime-dual-audio.json b/docs/json/radarr/cf/anime-dual-audio.json index dead6b6563..036febb2d2 100644 --- a/docs/json/radarr/cf/anime-dual-audio.json +++ b/docs/json/radarr/cf/anime-dual-audio.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "dual[ ._-]?audio|[\\[(]dual[\\])]|(?-i)DUAL-VARYG(?i)|dual[ ._-]?(\\d{3,4}p|ultrahd|4k)|(\\d{3,4}p|ultrahd|4k)[ ._-]?dual|(JA|ZH)\\+EN|EN\\+(JA|ZH)" + "value": "[\\[(]?(dual)([\\s._\\])-]?(audio|varyg|\\d{3,4}p|ultrahd|4k))|(\\d{3,4}p|ultrahd|4k)[\\s._-]?dual|(JA|ZH)\\+EN|EN\\+(JA|ZH)" } }, {