From 389266c7249b3ae7ebc8dd8417acd2757103b5ed Mon Sep 17 00:00:00 2001 From: Profilarr Date: Sun, 9 Mar 2025 04:03:06 +0100 Subject: [PATCH] tweak(format): Anime works --- custom_formats/Bettter Dual Audio Chec.yml | 11 +++++ custom_formats/Is Dual Audio.yml | 25 +++++++++++ custom_formats/Is English.yml | 12 ++++++ custom_formats/Is Japanese.yml | 12 ++++++ profiles/Anime.yml | 49 ++++++++++++++++++++++ regex_patterns/5.1 Surround.yml | 7 ++++ regex_patterns/Better Dual Audio.yml | 7 ++++ regex_patterns/Dual Audio Trash.yml | 6 +++ regex_patterns/Dual Audio.yml | 3 +- regex_patterns/Dubbed Trash.yml | 6 +++ 10 files changed, 137 insertions(+), 1 deletion(-) create mode 100644 custom_formats/Bettter Dual Audio Chec.yml create mode 100644 custom_formats/Is Dual Audio.yml create mode 100644 custom_formats/Is English.yml create mode 100644 custom_formats/Is Japanese.yml create mode 100644 profiles/Anime.yml create mode 100644 regex_patterns/5.1 Surround.yml create mode 100644 regex_patterns/Better Dual Audio.yml create mode 100644 regex_patterns/Dual Audio Trash.yml create mode 100644 regex_patterns/Dubbed Trash.yml diff --git a/custom_formats/Bettter Dual Audio Chec.yml b/custom_formats/Bettter Dual Audio Chec.yml new file mode 100644 index 0000000..bb3340e --- /dev/null +++ b/custom_formats/Bettter Dual Audio Chec.yml @@ -0,0 +1,11 @@ +name: Bettter Dual Audio Chec +description: '' +tags: +- Language +conditions: +- name: Better dual check + type: release_title + required: true + negate: false + pattern: Better Dual Audio +tests: [] diff --git a/custom_formats/Is Dual Audio.yml b/custom_formats/Is Dual Audio.yml new file mode 100644 index 0000000..7ea1748 --- /dev/null +++ b/custom_formats/Is Dual Audio.yml @@ -0,0 +1,25 @@ +name: Is Dual Audio +description: '' +tags: +- Language +conditions: +- name: Dual Audio Trash + negate: false + pattern: Dual Audio Trash + required: true + type: edition +tests: +- conditionResults: [] + expected: true + id: 1 + input: '[ToonsHub] Solo Leveling S02E08 1080p AMZN WEB-DL DDP2.0 H.264 (Ore dake + Level Up na Ken, Dual-Audio, Multi-Subs)' + lastRun: null + passes: false +- id: 2 + input: '[SanKyuu] Ore dake Level Up na Ken (Solo Leveling) - S02E10 [WEB][1080p][AV1][AAC][Multi-Sub] + (Weekly)' + expected: false + passes: false + lastRun: null + conditionResults: [] diff --git a/custom_formats/Is English.yml b/custom_formats/Is English.yml new file mode 100644 index 0000000..f0f606b --- /dev/null +++ b/custom_formats/Is English.yml @@ -0,0 +1,12 @@ +name: Is English +description: '' +tags: +- Language +conditions: +- exceptLanguage: false + language: english + name: English + negate: false + required: true + type: language +tests: [] diff --git a/custom_formats/Is Japanese.yml b/custom_formats/Is Japanese.yml new file mode 100644 index 0000000..649c914 --- /dev/null +++ b/custom_formats/Is Japanese.yml @@ -0,0 +1,12 @@ +name: Is Japanese +description: '' +tags: +- Language +conditions: +- exceptLanguage: false + language: japanese + name: Jap + negate: false + required: true + type: language +tests: [] diff --git a/profiles/Anime.yml b/profiles/Anime.yml new file mode 100644 index 0000000..0be2f25 --- /dev/null +++ b/profiles/Anime.yml @@ -0,0 +1,49 @@ +name: Anime +description: Prefers English and dual audio +tags: +- anime +upgradesAllowed: true +minCustomFormatScore: 0 +upgradeUntilScore: 0 +minScoreIncrement: 1 +custom_formats: +- name: Bettter Dual Audio Chec + score: 10 +- name: Is English + score: 10 +- name: Is Japanese + score: 10 +- name: Dolby Digital + score: 3 +- name: DTS + score: 2 +- name: Not Only English + score: 0 +- name: Not Only English (Missing) + score: 0 +- name: Not English + score: -10 +qualities: +- id: 8 + name: Remux-1080p +- id: 9 + name: WEBDL-1080p +- id: 10 + name: Bluray-1080p +- id: 13 + name: Bluray-720p +- id: 14 + name: WEBDL-720p +- id: 16 + name: HDTV-720p +- id: 15 + name: WEBRip-720p +- id: 22 + name: DVD +- id: 24 + name: SDTV +upgrade_until: + id: 10 + name: Bluray-1080p + description: 1080p Blu-ray video encoded with lossy compression +language: any diff --git a/regex_patterns/5.1 Surround.yml b/regex_patterns/5.1 Surround.yml new file mode 100644 index 0000000..6871056 --- /dev/null +++ b/regex_patterns/5.1 Surround.yml @@ -0,0 +1,7 @@ +name: 5.1 Surround +pattern: '[^0-9]5[ .][0-1]\\b' +description: '' +tags: +- Audio +- Channel +tests: [] diff --git a/regex_patterns/Better Dual Audio.yml b/regex_patterns/Better Dual Audio.yml new file mode 100644 index 0000000..e12bc44 --- /dev/null +++ b/regex_patterns/Better Dual Audio.yml @@ -0,0 +1,7 @@ +name: Better Dual Audio +pattern: (?i)(dual[ ._-]?(?:audio|dub)|multi[ ._-]?(?:audio|dub)|ubbed) +description: '' +tags: +- Language +- Anime +tests: [] diff --git a/regex_patterns/Dual Audio Trash.yml b/regex_patterns/Dual Audio Trash.yml new file mode 100644 index 0000000..8ab17bd --- /dev/null +++ b/regex_patterns/Dual Audio Trash.yml @@ -0,0 +1,6 @@ +name: Dual Audio Trash +pattern: dual[ ._-]?(audio|varyg)|[([]dual[])]|(JA|ZH|KO)\\+EN|EN\\+(JA|ZH|KO) +description: '' +tags: +- language +tests: [] diff --git a/regex_patterns/Dual Audio.yml b/regex_patterns/Dual Audio.yml index 7fb9cda..f453f30 100644 --- a/regex_patterns/Dual Audio.yml +++ b/regex_patterns/Dual Audio.yml @@ -4,7 +4,8 @@ description: Matches releases with Dual Audio; Media releases that contain two l tracks - typically the original language (such as Japanese) along with an English dub, allowing viewers to switch between either audio track while watching the same video content. -tags: [] +tags: +- language tests: - expected: true id: 1 diff --git a/regex_patterns/Dubbed Trash.yml b/regex_patterns/Dubbed Trash.yml new file mode 100644 index 0000000..3810554 --- /dev/null +++ b/regex_patterns/Dubbed Trash.yml @@ -0,0 +1,6 @@ +name: Dubbed Trash +pattern: ^(?!.*(Dual|Multi)[-_. ]?Audio).*((?