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:
pmm: templates
template_variables:
originals_only:
default: false
run_definition:
- <<use_<<key>>>>
- <<use_<<alt>>>>
@ -52,10 +54,19 @@ templates:
run_definition:
- <<allowed_streaming>>
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:
url_part:
default: <<library_type>>
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"