From 5b229d9dfa1832e15b03f267bc5835c7be9ae1ee Mon Sep 17 00:00:00 2001 From: santiagosayshey Date: Tue, 3 Dec 2024 02:53:52 +1050 Subject: [PATCH] feat(format): Add Streaming Service: APTV --- custom_formats/Apple TV+.yml | 40 ++++++++++++++++++++++++++++++++++++ regex_patterns/Apple TV+.yml | 30 +++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 custom_formats/Apple TV+.yml create mode 100644 regex_patterns/Apple TV+.yml diff --git a/custom_formats/Apple TV+.yml b/custom_formats/Apple TV+.yml new file mode 100644 index 0000000..caa6817 --- /dev/null +++ b/custom_formats/Apple TV+.yml @@ -0,0 +1,40 @@ +name: Apple TV+ +description: Matches 'Apple TV+' WEB-DLs. Negates any encodes. +tags: +- Streaming Service +- WEB-DL +conditions: +- name: APTV Regex + negate: false + pattern: Apple TV+ + 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: APTV Regex + negate: false + pattern: Apple TV+ + required: true + type: release_title + - matches: true + name: x265 + negate: true + pattern: x265 + required: false + type: release_title + expected: false + id: 2 + input: Little America 2020 S01 1080p APTV Webrip x265 10bit EAC3 5 1 - Ainz + lastRun: '2024-12-03T02:27:03.531343' + passes: true diff --git a/regex_patterns/Apple TV+.yml b/regex_patterns/Apple TV+.yml new file mode 100644 index 0000000..33db579 --- /dev/null +++ b/regex_patterns/Apple TV+.yml @@ -0,0 +1,30 @@ +name: Apple TV+ +pattern: \b(atvp|aptv|Apple TV\+)\s*\b +description: Apple TV+ is an American subscription OTT streaming service owned and + operated by Apple Inc. Launched on November 1, 2019, it offers a selection of original + production film and television series called Apple Originals. +tags: +- Streaming Service +- WEB-DL +- WEBRip +tests: +- expected: true + id: 1 + input: Palmer.1080p.APTV.WEB-DL.DDP5.1.Atmos.H.264-EVO.mkv + lastRun: '2024-12-03T02:31:55.764873' + passes: true +- expected: true + id: 2 + input: Fathom.1080p.APTV.WEB-DL.DDP5.1.Atmos.H.264-CMRG.mkv + lastRun: '2024-12-03T02:31:55.764873' + passes: true +- expected: false + id: 3 + input: You.Are.the.Apple.of.My.Eye.2011.720p.BluRay.DD5.1.x264-EbP.mkv + lastRun: '2024-12-03T02:31:55.764873' + passes: true +- expected: true + id: 4 + input: Men in Black 1997 2160p Apple TV+ WEB-DL DDP 5 1 Atmos DV H 265-CHDWEB + lastRun: '2024-12-03T02:31:55.764873' + passes: true