add originals_only to streaming overlay

This commit is contained in:
YozoraXCII 2023-04-24 13:42:22 +01:00
parent 4b89bac282
commit cefe90f79a

View file

@ -9,6 +9,8 @@
external_templates: external_templates:
pmm: templates pmm: templates
template_variables: template_variables:
originals_only:
default: false
run_definition: run_definition:
- <<use_<<key>>>> - <<use_<<key>>>>
- <<use_<<alt>>>> - <<use_<<alt>>>>
@ -52,10 +54,19 @@ templates:
run_definition: run_definition:
- <<allowed_streaming>> - <<allowed_streaming>>
ignore_blank_results: true ignore_blank_results: true
mdblist_list: https://mdblist.com/lists/plexmetamanager/<<key>>-<<library_type>>s<<watch_region>> mdblist_list: https://mdblist.com/lists/plexmetamanager/<<key>>-<<url_part>>s<<watch_region>>
conditionals: conditionals:
url_part:
default: <<library_type>>
conditions:
- originals_only: true
key: [appletv, disney, hbomax, hulu, netflix, paramount, peacock, amazon]
value: "original"
allowed_streaming: allowed_streaming:
conditions: conditions:
- originals_only: true
key: [all4, bet, britbox, crave, crunchyroll, discovery, hayu, now, showtime]
value: False
- region.not: uk - region.not: uk
key: [all4, britbox, hayu, now] key: [all4, britbox, hayu, now]
value: False value: False
@ -68,6 +79,8 @@ templates:
watch_region: watch_region:
default: "" default: ""
conditions: conditions:
- originals_only: true
value: ""
- region: ca - region: ca
key: [amazon, disney, netflix] key: [amazon, disney, netflix]
value: "-ca" value: "-ca"