From 4b89e38b349c2863dd0a93c622ba8633a427466f Mon Sep 17 00:00:00 2001 From: Max Katsev <911677+mkatsevVR@users.noreply.github.com> Date: Mon, 24 Jul 2023 10:24:55 -0700 Subject: [PATCH 1/4] sync RP json with the doc regexes --- docs/json/sonarr/rp/p2pRepackProper.json | 21 ++++++----- docs/json/sonarr/rp/streaming.json | 47 ++++++++++++++---------- 2 files changed, 38 insertions(+), 30 deletions(-) diff --git a/docs/json/sonarr/rp/p2pRepackProper.json b/docs/json/sonarr/rp/p2pRepackProper.json index 50ce0f58c..e85578f5e 100644 --- a/docs/json/sonarr/rp/p2pRepackProper.json +++ b/docs/json/sonarr/rp/p2pRepackProper.json @@ -3,12 +3,7 @@ "trash_id": "71899E6C303A07AF0E4746EFF9873532", "includePreferredWhenRenaming": false, "required": [], - "preferred": [{ - "score": 1800, - "terms": [ - "/(-deflate|-inflate)\\b/i" - ] - }, + "preferred": [ { "score": 1700, "terms": [ @@ -28,23 +23,29 @@ ] }, { - "score": 13, + "score": 1600, + "terms": [ + "/(-deflate|-inflate)\\b/i" + ] + }, + { + "score": 7, "terms": [ "/(repack3)/i" ] }, { - "score": 12, + "score": 6, "terms": [ "/(repack2)/i" ] }, { - "score": 11, + "score": 5, "terms": [ "/\\b(repack|proper)\\b/i" ] } ], "ignored": [] -} +} \ No newline at end of file diff --git a/docs/json/sonarr/rp/streaming.json b/docs/json/sonarr/rp/streaming.json index c1cef4c27..5e6767a32 100644 --- a/docs/json/sonarr/rp/streaming.json +++ b/docs/json/sonarr/rp/streaming.json @@ -3,50 +3,57 @@ "trash_id": "1B018E0C53EC825085DD911102E2CA36", "includePreferredWhenRenaming": true, "required": [], - "preferred": [{ + "preferred": [ + { "score": 100, "terms": [ - "/\\b(amzn|amazon)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", - "/\\b(atvp|aptv|Apple TV\\+)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i" + "/\\b(atvp|aptv|Apple TV\\+)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", + "/\\b(dsnp|dsny|disney|Disney\\+)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i" ] }, { - "score": 95, + "score": 90, "terms": [ - "/\\b(sho|showtime)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i" + "/\\b((? Date: Mon, 24 Jul 2023 10:32:30 -0700 Subject: [PATCH 2/4] fix json syntax --- docs/json/sonarr/rp/p2pRepackProper.json | 2 +- docs/json/sonarr/rp/streaming.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/json/sonarr/rp/p2pRepackProper.json b/docs/json/sonarr/rp/p2pRepackProper.json index e85578f5e..caabdd5d8 100644 --- a/docs/json/sonarr/rp/p2pRepackProper.json +++ b/docs/json/sonarr/rp/p2pRepackProper.json @@ -48,4 +48,4 @@ } ], "ignored": [] -} \ No newline at end of file +} diff --git a/docs/json/sonarr/rp/streaming.json b/docs/json/sonarr/rp/streaming.json index 5e6767a32..5a0f81759 100644 --- a/docs/json/sonarr/rp/streaming.json +++ b/docs/json/sonarr/rp/streaming.json @@ -51,9 +51,9 @@ "/\\b(nlz)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", "/\\b(red)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", "/\\b(sho|showtime)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", - "/\\b(vdl)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", + "/\\b(vdl)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i" ] } ], "ignored": [] -} \ No newline at end of file +} From a7d6fe53125f2e2748f1818eed8b7904d7747a66 Mon Sep 17 00:00:00 2001 From: yammes08 <111231042+yammes08@users.noreply.github.com> Date: Mon, 24 Jul 2023 18:55:02 +0100 Subject: [PATCH 3/4] Update streaming.json Added missing OViD streaming service to streaming rp json --- docs/json/sonarr/rp/streaming.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/json/sonarr/rp/streaming.json b/docs/json/sonarr/rp/streaming.json index 5a0f81759..411049d08 100644 --- a/docs/json/sonarr/rp/streaming.json +++ b/docs/json/sonarr/rp/streaming.json @@ -51,7 +51,8 @@ "/\\b(nlz)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", "/\\b(red)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", "/\\b(sho|showtime)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", - "/\\b(vdl)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i" + "/\\b(vdl)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", + "/\\b(ovid)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i" ] } ], From dc122b87a5bbe7c399722f3eda44b97bbac8c057 Mon Sep 17 00:00:00 2001 From: yammes08 <111231042+yammes08@users.noreply.github.com> Date: Mon, 24 Jul 2023 18:57:04 +0100 Subject: [PATCH 4/4] Update Sonarr-Release-Profile-RegEx.md Add OViD streaming service to RP regex guide page --- docs/Sonarr/Sonarr-Release-Profile-RegEx.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/Sonarr/Sonarr-Release-Profile-RegEx.md b/docs/Sonarr/Sonarr-Release-Profile-RegEx.md index 442e6238b..57f7f2f16 100644 --- a/docs/Sonarr/Sonarr-Release-Profile-RegEx.md +++ b/docs/Sonarr/Sonarr-Release-Profile-RegEx.md @@ -223,6 +223,10 @@ Add this to your `Preferred (3)` with a score of [50] /\b(vdl)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)/i ``` +```bash +/\b(ovid)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)/i +``` + !!! danger "Caution" Don't forget to click on `SAVE` after you've added everything you want to the release profile :bangbang: