From b76075a547c894cf12124de669dd5b8736a93052 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sat, 10 Jun 2023 05:36:12 +0300 Subject: [PATCH 1/3] Added: `Extras` CF for Sonarr --- docs/Sonarr/Sonarr-Release-Profile-RegEx.md | 10 ++++++++++ docs/json/sonarr/cf/extras.json | 18 ++++++++++++++++++ docs/json/sonarr/rp/optionals.json | 4 ++++ 3 files changed, 32 insertions(+) create mode 100644 docs/json/sonarr/cf/extras.json diff --git a/docs/Sonarr/Sonarr-Release-Profile-RegEx.md b/docs/Sonarr/Sonarr-Release-Profile-RegEx.md index f0eb7885b..e5cbdff8d 100644 --- a/docs/Sonarr/Sonarr-Release-Profile-RegEx.md +++ b/docs/Sonarr/Sonarr-Release-Profile-RegEx.md @@ -466,6 +466,16 @@ Add this to your `Preferred (3)` with a score of [-10000] ------ +#### Optional - Dislike Extras + +Add this to your `Preferred (3)` with a score of [-10000] + +```bash +/(?<=\bS\d+\b).*\b(Extras|Bonus)\b/i +``` + +------ + #### Optional - Prefer Season Packs ??? question "Explanation - [CLICK TO EXPAND]" diff --git a/docs/json/sonarr/cf/extras.json b/docs/json/sonarr/cf/extras.json new file mode 100644 index 000000000..2a5de6c5d --- /dev/null +++ b/docs/json/sonarr/cf/extras.json @@ -0,0 +1,18 @@ +{ + "trash_id": "fbcb31d8dabd2a319072b84fc0b7249c", + "trash_score": "-10000", + "trash_regex": "https://regex101.com/r/lZ9iTm/1", + "name": "Extras", + "includeCustomFormatWhenRenaming": false, + "specifications": [ + { + "name": "Extras", + "implementation": "ReleaseTitleSpecification", + "negate": false, + "required": true, + "fields": { + "value": "(?<=\\bS\\d+\\b).*\\b(Extras|Bonus)\\b" + } + } + ] +} diff --git a/docs/json/sonarr/rp/optionals.json b/docs/json/sonarr/rp/optionals.json index f8d5dec89..421b5bee6 100644 --- a/docs/json/sonarr/rp/optionals.json +++ b/docs/json/sonarr/rp/optionals.json @@ -66,6 +66,10 @@ "name": "Dislike release containing: 1-", "trash_id": "236a3626a07cacf5692c73cc947bc280", "term": "/(? Date: Sat, 10 Jun 2023 19:08:22 +0200 Subject: [PATCH 2/3] Added: to Sonarr v4 Guide - Added: to Sonarr v4 Guide --- .../sonarr-collection-of-custom-formats.md | 17 ++++++++++++++++- includes/cf/sonarr-unwanted-uhd.md | 10 ++++++---- includes/cf/sonarr-unwanted.md | 13 ++++++++----- 3 files changed, 30 insertions(+), 10 deletions(-) diff --git a/docs/Sonarr/sonarr-collection-of-custom-formats.md b/docs/Sonarr/sonarr-collection-of-custom-formats.md index c600fc119..f13352079 100644 --- a/docs/Sonarr/sonarr-collection-of-custom-formats.md +++ b/docs/Sonarr/sonarr-collection-of-custom-formats.md @@ -50,7 +50,7 @@ I also made 3 guides related to this one. | [Hybrid](#hybrid) | [BR-DISK](#br-disk) | [Remux Tier 01](#remux-tier-01) | [Amazon](#amzn) | | [Remaster](#remaster) | [LQ](#lq) | [Remux Tier 02](#remux-tier-02) | [Apple TV+](#atvp) | | | [x265 (HD)](#x265-hd) | [HD Bluray Tier 01](#hd-bluray-tier-01) | [DC Universe](#dcu) | -| | | [HD Bluray Tier 02](#hd-bluray-tier-02) | [Disney+](#dsnp) | +| | [Extras](#extras) | [HD Bluray Tier 02](#hd-bluray-tier-02) | [Disney+](#dsnp) | | | | [WEB Tier 01](#web-tier-01) | [HBO Max](#hmax) | | | | [WEB Tier 02](#web-tier-02) | [HBO](#hbo) | | | | [WEB Tier 03](#web-tier-03) | [Max](#max) | @@ -816,6 +816,21 @@ I also made 3 guides related to this one. ------ +### Extras + +??? question "Extras - [CLICK TO EXPAND]" + + This blocks/ignores Extra's + +??? example "JSON - [CLICK TO EXPAND]" + + ```json + [[% filter indent(width=4) %]][[% include 'json/sonarr/cf/extras-hd.json' %]][[% endfilter %]] + ``` + +[TOP](#index) +------ + ## Misc ------ diff --git a/includes/cf/sonarr-unwanted-uhd.md b/includes/cf/sonarr-unwanted-uhd.md index 0aa05b1b3..0b44491d8 100644 --- a/includes/cf/sonarr-unwanted-uhd.md +++ b/includes/cf/sonarr-unwanted-uhd.md @@ -1,8 +1,9 @@ ??? abstract "Unwanted UHD - [CLICK TO EXPAND]" - | Custom Format | Score | Trash ID | - | ------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ------------------------------------------------- | - | [{{ sonarr['cf']['br-disk']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#br-disk) | {{ sonarr['cf']['br-disk']['trash_score'] }} | {{ sonarr['cf']['br-disk']['trash_id'] }} | - | [{{ sonarr['cf']['lq']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#lq) | {{ sonarr['cf']['lq']['trash_score'] }} | {{ sonarr['cf']['lq']['trash_id'] }} | + | Custom Format | Score | Trash ID | + | --------------------------------------------------------------------------------------------- | -------------------------------------------- | ----------------------------------------- | + | [{{ sonarr['cf']['br-disk']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#br-disk) | {{ sonarr['cf']['br-disk']['trash_score'] }} | {{ sonarr['cf']['br-disk']['trash_id'] }} | + | [{{ sonarr['cf']['lq']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#lq) | {{ sonarr['cf']['lq']['trash_score'] }} | {{ sonarr['cf']['lq']['trash_id'] }} | + | [{{ sonarr['cf']['extras']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#extras) | {{ sonarr['cf']['extras']['trash_score'] }} | {{ sonarr['cf']['extras']['trash_id'] }} | ------ @@ -10,3 +11,4 @@ - **{{ sonarr['cf']['br-disk']['name'] }} :** This is a custom format to help Sonarr recognize & ignore BR-DISK (ISO's and Blu-ray folder structure) in addition to the standard BR-DISK quality. - **{{ sonarr['cf']['lq']['name'] }}:** A collection of known Low Quality groups that are often banned from the the top trackers because the lack of quality or other reasons. + - **{{ sonarr['cf']['extras']['name'] }}:** This blocks/ignores extra's diff --git a/includes/cf/sonarr-unwanted.md b/includes/cf/sonarr-unwanted.md index f3b182a55..740974a89 100644 --- a/includes/cf/sonarr-unwanted.md +++ b/includes/cf/sonarr-unwanted.md @@ -1,9 +1,10 @@ ??? abstract "Unwanted - [CLICK TO EXPAND]" - | Custom Format | Score | Trash ID | - | ------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ------------------------------------------------- | - | [{{ sonarr['cf']['br-disk']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#br-disk) | {{ sonarr['cf']['br-disk']['trash_score'] }} | {{ sonarr['cf']['br-disk']['trash_id'] }} | - | [{{ sonarr['cf']['lq']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#lq) | {{ sonarr['cf']['lq']['trash_score'] }} | {{ sonarr['cf']['lq']['trash_id'] }} | - | [{{ sonarr['cf']['x265-hd']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#x265-hd) :warning: | {{ sonarr['cf']['x265-hd']['trash_score'] }} | {{ sonarr['cf']['x265-hd']['trash_id'] }} | + | Custom Format | Score | Trash ID | + | ------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ----------------------------------------- | + | [{{ sonarr['cf']['br-disk']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#br-disk) | {{ sonarr['cf']['br-disk']['trash_score'] }} | {{ sonarr['cf']['br-disk']['trash_id'] }} | + | [{{ sonarr['cf']['lq']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#lq) | {{ sonarr['cf']['lq']['trash_score'] }} | {{ sonarr['cf']['lq']['trash_id'] }} | + | [{{ sonarr['cf']['x265-hd']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#x265-hd) :warning: | {{ sonarr['cf']['x265-hd']['trash_score'] }} | {{ sonarr['cf']['x265-hd']['trash_id'] }} | + | [{{ sonarr['cf']['extras']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#extras) | {{ sonarr['cf']['extras']['trash_score'] }} | {{ sonarr['cf']['extras']['trash_id'] }} | ------ @@ -14,3 +15,5 @@ - **{{ sonarr['cf']['x265-hd']['name'] }}:** This blocks 720/1080p (HD) releases that are encoded in x265. - More info [HERE](/Misc/x265-4k/){:target="_blank" rel="noopener noreferrer"}. !!! Danger "Don't use this together with [{{ sonarr['cf']['x265-no-hdrdv']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#x265-no-hdrdv), Only ever include one of them :warning:" + + - **{{ sonarr['cf']['extras']['name'] }}:** This blocks/ignores extra's From 3bac25d12e3218debe2c55d34a043c2d6321cd47 Mon Sep 17 00:00:00 2001 From: TRaSH Date: Sat, 10 Jun 2023 19:11:09 +0200 Subject: [PATCH 3/3] Fixed: MD003 Header style --- docs/Sonarr/sonarr-collection-of-custom-formats.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Sonarr/sonarr-collection-of-custom-formats.md b/docs/Sonarr/sonarr-collection-of-custom-formats.md index f13352079..79e574ea5 100644 --- a/docs/Sonarr/sonarr-collection-of-custom-formats.md +++ b/docs/Sonarr/sonarr-collection-of-custom-formats.md @@ -829,6 +829,7 @@ I also made 3 guides related to this one. ``` [TOP](#index) + ------ ## Misc