From cefe90f79a0355cc86b69bc59ca1b5603ed2de64 Mon Sep 17 00:00:00 2001 From: YozoraXCII <96386153+YozoraXCII@users.noreply.github.com> Date: Mon, 24 Apr 2023 13:42:22 +0100 Subject: [PATCH] add `originals_only` to streaming overlay --- defaults/overlays/streaming.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/defaults/overlays/streaming.yml b/defaults/overlays/streaming.yml index 9466f498..9a503a21 100644 --- a/defaults/overlays/streaming.yml +++ b/defaults/overlays/streaming.yml @@ -9,6 +9,8 @@ external_templates: pmm: templates template_variables: + originals_only: + default: false run_definition: - <>>> - <>>> @@ -52,10 +54,19 @@ templates: run_definition: - <> ignore_blank_results: true - mdblist_list: https://mdblist.com/lists/plexmetamanager/<>-<>s<> + mdblist_list: https://mdblist.com/lists/plexmetamanager/<>-<>s<> conditionals: + url_part: + default: <> + conditions: + - originals_only: true + key: [appletv, disney, hbomax, hulu, netflix, paramount, peacock, amazon] + value: "original" allowed_streaming: conditions: + - originals_only: true + key: [all4, bet, britbox, crave, crunchyroll, discovery, hayu, now, showtime] + value: False - region.not: uk key: [all4, britbox, hayu, now] value: False @@ -68,6 +79,8 @@ templates: watch_region: default: "" conditions: + - originals_only: true + value: "" - region: ca key: [amazon, disney, netflix] value: "-ca"