From 9888c634e25b99867762ca7c06e473f71a4273af Mon Sep 17 00:00:00 2001 From: santiagosayshey Date: Tue, 3 Dec 2024 17:24:18 +1050 Subject: [PATCH] feat(format): add streaming service: DSNP --- custom_formats/Disney+.yml | 42 +++++++++++++++++++++++++++++++++++ regex_patterns/Disney+.yml | 45 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 custom_formats/Disney+.yml create mode 100644 regex_patterns/Disney+.yml diff --git a/custom_formats/Disney+.yml b/custom_formats/Disney+.yml new file mode 100644 index 0000000..ef1f466 --- /dev/null +++ b/custom_formats/Disney+.yml @@ -0,0 +1,42 @@ +name: Disney+ +description: Matches 'Disney+' WEB-DLs. Negates any encodes. +tags: +- Streaming Service +- WEB-DL +- WEB1 [1080p] +conditions: +- name: DNSP Regex + negate: false + pattern: Disney+ + required: true + type: release_title +- name: WEBRip + negate: true + required: false + source: webrip + type: source +- name: x265 + negate: true + pattern: x265 + required: false + type: release_title +tests: +- conditionResults: + - matches: true + name: DNSP Regex + negate: false + pattern: Disney+ + required: true + type: release_title + - matches: true + name: x265 + negate: true + pattern: x265 + required: false + type: release_title + expected: false + id: 1 + input: The Simpsons (1989) S36E05 Treehouse of Horror XXXV (1080p DSNP Webrip x265 + 10bit EAC3 5 1 - Goki)[TAoE] + lastRun: '2024-12-03T16:31:38.572151' + passes: true diff --git a/regex_patterns/Disney+.yml b/regex_patterns/Disney+.yml new file mode 100644 index 0000000..a67772b --- /dev/null +++ b/regex_patterns/Disney+.yml @@ -0,0 +1,45 @@ +name: Disney+ +pattern: \b(dsnp|dsny(p)?|disney\+)\s*\b +description: Disney+ is an American subscription video on-demand over-the-top streaming + media service that primarily distributes films and television shows produced by + Walt Disney Studios and Disney Television Studios, with dedicated content hubs for + Disney's flagship brands; Disney, Pixar, Marvel, Star Wars, National Geographic, + ESPN, Hulu and Star. +tags: +- Streaming Service +- WEB-DL +- WEBRip +tests: +- expected: true + id: 1 + input: Star Wars - The Clone Wars (2008) S06 (1080p DSNP WEB-DL H264 SDR DDP 5 1 + English - HONE) + lastRun: '2024-12-03T16:25:40.465487' + passes: true +- expected: true + id: 2 + input: Pupstruction S02E09E10 The Funniest Pup in Petsburg Beddy Bye Build 720p + DSNY WEB-DL AAC 2.0 H.264-4f8c4100292 + lastRun: '2024-12-03T16:25:40.465487' + passes: true +- expected: true + id: 3 + input: Once Upon a Snowman 2020 DSNYP 1080p WEBRip X264 Atmos-EVO + lastRun: '2024-12-03T16:25:40.465487' + passes: true +- expected: false + id: 4 + input: How.Disney.Built.America.S01E01.1080p.WEB.h264-EDITH + lastRun: '2024-12-03T16:25:40.465487' + passes: true +- expected: true + id: 5 + input: High School Musical - The Musical - The Series S00E01 The Special 2160p HDR + Disney+ WEBRip DD+ 5 1 x265-TrollUHD + lastRun: '2024-12-03T16:25:40.465487' + passes: true +- expected: true + id: 6 + input: Air Crash Investigation S18 2018 Disney+ WEB-DL 1080p H264 DDP-HDCTV + lastRun: '2024-12-03T16:25:40.465487' + passes: true