From 6230a4b3b44aeff6dfbb0b5c3161c53a542fd764 Mon Sep 17 00:00:00 2001 From: TRaSH Date: Sun, 30 Jan 2022 19:42:55 +0100 Subject: [PATCH] Added: sonarr json testing --- docs/json/sonarr/goldenRule.json | 8 ++ docs/json/sonarr/lqGroups.json | 16 +++ docs/json/sonarr/optional.json | 56 ++++++++ docs/json/sonarr/p2pRepackProper.json | 59 ++++++++ docs/json/sonarr/streaming.json | 48 +++++++ docs/json/sonarr/visorakAnimeOne.json | 28 ++++ docs/json/sonarr/visorakAnimeTwo.json | 197 ++++++++++++++++++++++++++ 7 files changed, 412 insertions(+) create mode 100644 docs/json/sonarr/goldenRule.json create mode 100644 docs/json/sonarr/lqGroups.json create mode 100644 docs/json/sonarr/optional.json create mode 100644 docs/json/sonarr/p2pRepackProper.json create mode 100644 docs/json/sonarr/streaming.json create mode 100644 docs/json/sonarr/visorakAnimeOne.json create mode 100644 docs/json/sonarr/visorakAnimeTwo.json diff --git a/docs/json/sonarr/goldenRule.json b/docs/json/sonarr/goldenRule.json new file mode 100644 index 000000000..8d373b3fc --- /dev/null +++ b/docs/json/sonarr/goldenRule.json @@ -0,0 +1,8 @@ +{ + "name": "Golden rule", + "trash_id": "D06EA70E08E9185E00A22AC19DC4CA48", + "includePreferredWhenRenaming": false, + "required": [], + "preferred": [], + "ignored": ["/(?=(1080|720)).*((x|h)[ ._-]?265|hevc)/i"] +} diff --git a/docs/json/sonarr/lqGroups.json b/docs/json/sonarr/lqGroups.json new file mode 100644 index 000000000..65248ba52 --- /dev/null +++ b/docs/json/sonarr/lqGroups.json @@ -0,0 +1,16 @@ +{ + "name": "Low Quality Groups", + "trash_id": "EBC725268D687D588A20CBC5F97E538B", + "includePreferredWhenRenaming": false, + "required": [], + "preferred": [ + { + "score": -100, + "terms": [ + "/(TBS|-BRiNK|-CHX|-XLF|-worldmkv|-GHOSTS)\\b/i", + "/(-VIDEOHOLE|nhanc3)\\b/i" + ] + } + ], + "ignored": [] +} diff --git a/docs/json/sonarr/optional.json b/docs/json/sonarr/optional.json new file mode 100644 index 000000000..2d156f1b1 --- /dev/null +++ b/docs/json/sonarr/optional.json @@ -0,0 +1,56 @@ +{ + "ignore": [{ + "name": "Ignore Dolby Vision without HDR10 fallback.", + "term": "/^(?!.*(HDR|HULU|REMUX))(?=.*\\b(DV|Dovi|Dolby[- .]Vision)\\b).*/i" + }, { + "name": "Ignore The Group -SCENE", + "term": "/\\b(-scene)\\b/i" + }, { + "name": "Ignore so called scene releases", + "term": "/([_. ]WEB[_. ]|\\bCAKES\\b|GGEZ|GGWP|GLHF)/i" + }], + "required": [], + "preferred": [{ + "score": 15, + "terms": [{ + "name": "Prefer Season Packs", + "term": "/\\bS\\d+\\b(?!E\\d+\\b)/i" + }] + }, { + "score": 10, + "terms": [{ + "name": "Prefer HDR", + "term": "/\\bHDR(\\b|\\d)/i" + }] + }, { + "score": 100, + "terms": [{ + "name": "Prefer Dolby Vision", + "term": "/\\b(dv|dovi|dolby[ .]?vision)\\b/i" + }] + }, { + "score": -25, + "terms": [{ + "name": "Dislike retags: rartv, rarbg, eztv, TGx", + "term": "/(\\[rartv\\]|\\[rarbg\\]|\\[eztv\\]|\\[TGx\\])/i" + }, { + "name": "Dislike groups 1/4: 4Planet, AsRequested, BUYMORE", + "term": "/(-4P|-4Planet|-AsRequested|-BUYMORE)\\b/i" + }, { + "name": "Dislike groups 2/4: Chamele0n, GEROV, iNC0GNiTO, NZBGeek", + "term": "/(-Chamele0n|-GEROV|-iNC0GNiTO|-NZBGeek)\\b/i" + }, { + "name": "Dislike groups 3/4: Obfuscated, postbot, Rakuv, Scrambled", + "term": "/(-Obfuscated|-postbot|-Rakuv|-Scrambled)\\b/i" + }, { + "name": "Dislike groups 4/4: WhiteRev, xpost, WRTEAM, CAPTCHA", + "term": "/(-WhiteRev|-xpost|-WRTEAM|-CAPTCHA)\\b/i" + }, { + "name": "Dislike release ending: en", + "term": "/\\s?\\ben\\b$/i" + }, { + "name": "Dislike release containing: 1-", + "term": "/(1-.+)$/i" + }] + }] +} diff --git a/docs/json/sonarr/p2pRepackProper.json b/docs/json/sonarr/p2pRepackProper.json new file mode 100644 index 000000000..8ce9162d3 --- /dev/null +++ b/docs/json/sonarr/p2pRepackProper.json @@ -0,0 +1,59 @@ +{ + "name": "P2P Groups + Repack/Proper", + "trash_id": "71899E6C303A07AF0E4746EFF9873532", + "includePreferredWhenRenaming": false, + "required": [], + "preferred": [ + { + "score": 180, + "terms": [ + "/(-deflate|-inflate)\\b/i" + ] + }, + { + "score": 150, + "terms": [ + "/(-AJP69|-BTN|-CasStudio|-CtrlHD|-KiNGS)\\b/i", + "/(-monkee|-NTb|-NTG|-QOQ|-RTN)\\b/i", + "/(-TOMMY|-ViSUM|-T6D)\\b/i" + ] + }, + { + "score": 125, + "terms": [ + "/(-BTW|-Chotab|-CiT|-DEEP|-iJP|-iT00NZ)\\b/i", + "/(-LAZY|-NYH|-SA89|-SIGMA|-TEPES|-TVSmash)\\b/i", + "/(-SDCC|-iKA|-iJP|-Cinefeel|-SPiRiT|-FC)\\b/i", + "/(-JETIX|-Coo7|-WELP|-KiMCHI|-BLUTONiUM)\\b/i", + "/(-orbitron|-ETHiCS|-RTFM|-PSiG|-MZABI)\\b/i", + "/(-ROCCaT|3cTWeB|playWEB|-FLUX|NOSiViD)\\b/i", + "/(-KHN|NPMS|-END)\\b/i" + ] + }, + { + "score": 100, + "terms": [ + "/(-ViSiON)\\b/i" + ] + }, + { + "score": 12, + "terms": [ + "/(repack3)/i" + ] + }, + { + "score": 11, + "terms": [ + "/(repack2)/i" + ] + }, + { + "score": 10, + "terms": [ + "/\\b(repack|proper)\\b/i" + ] + } + ], + "ignored": [] +} diff --git a/docs/json/sonarr/streaming.json b/docs/json/sonarr/streaming.json new file mode 100644 index 000000000..70840d60d --- /dev/null +++ b/docs/json/sonarr/streaming.json @@ -0,0 +1,48 @@ +{ + "name": "Release Sources (Streaming Service)", + "trash_id": "1B018E0C53EC825085DD911102E2CA36", + "includePreferredWhenRenaming": true, + "required": [], + "preferred": [ + { + "score": 100, + "terms": [ + "/\\b(amzn|amazon)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", + "/\\b(atvp|aptv)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i" + ] + }, + { + "score": 95, + "terms": [ + "/\\b(sho)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i" + ] + }, + { + "score": 90, + "terms": [ + "/\\b(dsnp|dsny|disney)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", + "/\\b(nf|netflix)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", + "/\\b(qibi)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", + "/\\b(hmax|hbmo)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i" + ] + }, + { + "score": 85, + "terms": [ + "/\\b(hulu)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", + "/\\b(pcok)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i" + ] + }, + { + "score": 75, + "terms": [ + "/\\b(dcu)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", + "/\\b(hbo)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", + "/\\b(red)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", + "/\\b(it)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i", + "/\\b(pmtp)\\b(?=[ ._-]web[ ._-]?(dl|rip)\\b)/i" + ] + } + ], + "ignored": [] +} diff --git a/docs/json/sonarr/visorakAnimeOne.json b/docs/json/sonarr/visorakAnimeOne.json new file mode 100644 index 000000000..c52cf3a5c --- /dev/null +++ b/docs/json/sonarr/visorakAnimeOne.json @@ -0,0 +1,28 @@ +{ + "name": "Anime - First release profile", + "trash_id": "d428eda85af1df8904b4bbe4fc2f537c", + "community_id": "Visorak", + "includePreferredWhenRenaming": true, + "required": [], + "preferred": [ + { + "score": 1000, + "terms": [ + "/(uncut|unrated|uncensored|\\b(AT[-_. ]?X)\\b)/i" + ] + }, + { + "score": 500, + "terms": [ + "/(multi[ ._-]?audio)/i" + ] + }, + { + "score": 0, + "terms": [ + "/(dual[ ._-]?audio)/i" + ] + } + ], + "ignored": [] +} diff --git a/docs/json/sonarr/visorakAnimeTwo.json b/docs/json/sonarr/visorakAnimeTwo.json new file mode 100644 index 000000000..80b925472 --- /dev/null +++ b/docs/json/sonarr/visorakAnimeTwo.json @@ -0,0 +1,197 @@ +{ + "name": "Anime - Second release profile", + "trash_id": "6cd9e10bb5bb4c63d2d7cd3279924c7b", + "community_id": "Visorak", + "includePreferredWhenRenaming": false, + "required": [], + "preferred": [{ + "score": 4000, + "terms": [ + "/(deanzel|\\bZR\\b|\\bCTR\\b|\\bSCY\\b|\\bMK\\b|TTGA)/i", + "/(\\bShir\\b|LostYears|BluDragon|KAWAiREMUX)/i", + "/(\\bAC\\b|ShadyCrab|Rasetsu|Raizel|Dragon-Releases)/i", + "/(\\[Spark\\]|-Spark\\b|\\bREVO\\b|\\bSRLS\\b|ANThELIa)/i", + "/(\\[Vanilla\\]|-Vanilla\\b|\\bAP\\b)/i" + ] + }, + { + "score": 3750, + "terms": [ + "/(E[.-]N[.-]D)/i" + ] + }, + { + "score": 3500, + "terms": [ + "/(\\bHAiKU\\b|Exiled-Destiny|\\b(E-D)\\b|Koten[ ._-]Gars)/i", + "/(\\[GHOST\\]|-GHOST\\b|\\[NPC\\]|-NPC\\b|\\bCBM\\b)/i", + "/(\\bKH\\b|\\bCBT\\b|\\[naiyas\\]|-naiyas\\b|ShowY|Kametsu|\\bPn8\\b|Hark0N)/i" + ] + }, + { + "score": 3000, + "terms": [ + "/(\\bDHD\\b|RedBlade|TENEIGHTY|WaLMaRT)/i", + "/(\\bBMF\\b|\\[STRiFE\\]|-STRiFE\\b)/i", + "/(MKVULTRA|iAHD|ANiHLS)/i" + ] + }, + { + "score": 2500, + "terms": [ + "/(\\[YURASUKA\\]|-YURASUKA\\b|karios|Arukoru)/i", + "/(\\bRH\\b|\\[Prof\\]|-Prof\\b)/i" + ] + }, + { + "score": 2000, + "terms": [ + "/(DragsterPS)/i" + ] + }, + { + "score": 1500, + "terms": [ + "/(xPearse|\\bMCR\\b|\\bKS\\b|KiyoshiStar)/i" + ] + }, + { + "score": 1000, + "terms": [ + "/(\\b(A-L)\\b)/i" + ] + }, + { + "score": 501, + "terms": [ + "/dual[ ._-]?audio|EN\\+JA|JA\\+EN/i" + ] + }, + { + "score": 300, + "terms": [ + "/(Erai-raws|KAN3D2M)/i" + ] + }, + { + "score": 250, + "terms": [ + "/(HorribleSubs|SubsPlease|SallySubs)/i" + ] + }, + { + "score": 200, + "terms": [ + "/(\\[Mysteria\\]|-Mysteria\\b|Asenshi)/i", + "/(\\[meta\\]|-meta\\b|BlueLobster)/i" + ] + }, + { + "score": 150, + "terms": [ + "/(\\bGJM\\b|kBaraka)/i" + ] + }, + { + "score": 100, + "terms": [ + "/\\b(?:(Blu-?Ray|BDMux|BD(?!$))|(B[DR]Rip))(?:\\b|$|[ .])/ix", + "/(\\bCH\\b|\\bFFF\\b|Licca|Soldado|SNSbu)/i", + "/(Coalgirls|BlurayDesuYo|DameDesuYo|\\bPAS\\b)/i" + ] + }, + { + "score": 50, + "terms": [ + "/(\\[Orphan\\]|-Orphan\\b|\\[Yabai\\]|-Yabai\\b|\\bNii-sama\\b)/i", + "/(\\[Doki\\]|-Doki\\b|\\[Chihiro\\]|-Chihiro\\b|Final8)/i", + "/(\\[tenshi\\]|-tenshi\\b|SHiN-gx)/i" + ] + }, + { + "score": 25, + "terms": [ + "/(AkihitoSubs|\\bASW\\b|Commie)/i" + ] + }, + { + "score": 15, + "terms": [ + "/\\b(WEB[-_. ]?DL|WebHD|[. ]WEB[. ](?:[xh]26[45]|DDP?5[. ]1)|[. ](?-i:WEB)$|\\d+0p(?:WEB-DLMux|\\b\\s\\/\\sWEB\\s\\/\\s\\b))/ix" + ] + }, + { + "score": 10, + "terms": [ + "/(Web-?Rip|WEBMux)/ix" + ] + }, + { + "score": 5, + "terms": [ + "/\\b(?:(1080p|1920x1080|1440p|FHD|1080i|4kto1080p))\\b/i" + ] + }, + { + "score": 3, + "terms": [ + "/\\d(v4)\\b/i" + ] + }, + { + "score": 2, + "terms": [ + "/\\d(v3)\\b/i" + ] + }, + { + "score": 1, + "terms": [ + "/(10.?bit|hi10p)/i", + "/\\d(v2)\\b/i" + ] + }, + { + "score": -10000, + "terms": [ + "/(\\[Judas\\]|-Judas|\\[Cleo\\]|-Cleo)/i", + "/(AnimeRG|bonkai77|URANiME)/i" + ] + }, + { + "score": -15000, + "terms": [ + "/(\\[Pixel\\]|-Pixel\\b\\[EDGE\\]|-EDGE\\b|\\[Ranger\\]|-Ranger\\b)/i", + "/(SpaceFish|DeadFish|\\bDB\\b|Man\\.K|\\bHR\\b)/i", + "/(BakedFish|N[eo][wo]b[ ._-]?Subs|\\bAnime[. ]Time\\b)/i", + "/(AnimeKaizoku|Kaizoku|\\bCBB\\b|phazer11)/i", + "/(iPUNISHER|MiniTheatre|MiniFreeza|Mr\\.Deadpool)/i", + "/(NemDiggers|Project-gxs|youshikibi)/i", + "/(\\bMD\\b|Pog42|mdcx)/i", + "/(A-Destiny|TOPKEK|\\bUwU\\b|DARKFLiX)/i", + "/(\\[Maximus\\]|-Maximus\\b|\\[224\\]|-224\\b)/i", + "/(\\[Harunatsu\\]|-Harunatsu\\b)/i", + "/(\\[Davinci\\]|-Davinci\\b)/i" + ] + } + ], + "ignored": [ + "/(\\[EMBER\\]|-EMBER\\b|DaddySubs)/i", + "/(BDMV|M2TS|\\bSSA\\b|\\bVOSTFR\\b|\\bAbemaTV\\b)/i", + "/(CuaP|PnPSubs|ICEBLUE|SLAX|U3-Web)/i", + "/(Raws-Maji|\\bKRP\\b|M@nI|Kanjouteki|PuyaSubs)/i", + "/\\b(Beatrice|ohys|Kawaiika|neko|daddy)[ ._-]?(raws)\\b/i", + "/\\b(LowPower|Scryous)[ ._-]?(raws)\\b/i", + "/\\b(NS|AREY|BDMV|BDVD|BJX|DKB|DP|TnF)\\b/i", + "/(Amb3r|DsunS|ExREN|\\$tore-Chill)/i", + "/(\\[Hatsuyuki\\]|-Hatsuyuki\\b|\\[Hitoku\\]|-Hitoki\\b)/i", + "/(\\[Foxtrot\\]|-Foxtrot\\b|HollowRoxas|\\bMGD\\b)/i", + "/(JacobSwaggedUp|KEKMASTERS|\\[Mites\\]|-Mites\\b)/i", + "/(neoHEVC|Pantsu|\\[Pao\\]|-Pao\\b|Plex Friendly)/i", + "/(Rando235|RandomRemux|Reaktor|RightShiftBy2)/i", + "/(\\bSHFS\\b|StrayGods|\\bUQW\\b|Yabai_Desu_Ne)/i", + "/(YakuboEncodes|\\b(WtF[ ._-]?Anime)\\b)/i", + "/((funi|eng(lish)?)_?dub|\\bdub(bed)?\\b)/i", + "/(Golumpa|torenter69|KamiFS|KaiDubs)/i" + ] +}