Plex-Meta-Manager/defaults/overlays/streaming.yml
2024-05-01 17:06:19 +01:00

181 lines
5.3 KiB
YAML

##############################################################################
# Streaming Overlay #
# Created by Yozora, Bullmoose20, & Sohjiro #
# Credit to Magic815 for base images #
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
# https://kometa.wiki/en/latest/defaults/overlays/streaming #
##############################################################################
external_templates:
default: templates
template_variables:
group: streaming
default:
horizontal_align: left
vertical_align: bottom
conditionals:
vertical_offset:
default: 15
conditions:
- vertical_align.exists: false
value: 390
- vertical_align: center
value: 0
- vertical_align: top
value: 15
- vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
default:
conditions:
- file.exists: false
file_<<key>>.exists: false
url.exists: false
url_<<key>>.exists: false
git.exists: false
git_<<key>>.exists: false
repo.exists: false
repo_<<key>>.exists: false
value: streaming/<<overlay_name>>
back_color: "#00000099"
back_width: 305
back_height: 105
templates:
mdb_streaming:
default:
region: "US"
limit: "10000"
originals_only: false
optional:
- use_<<key>>
- use_<<tmdb_key>>
- allowed_libraries
run_definition:
- <<use_<<key>>>>
- <<use_<<tmdb_key>>>>
- <<allowed_libraries>>
- <<allowed_streaming>>
ignore_blank_results: true
conditionals:
originals:
conditions:
- originals_only: true
value: originals
discover_limit:
conditions:
- originals_only: false
value: <<limit>>
discover_with:
conditions:
- originals_only: false
value: <<final_tmdb_key>>
discover_region:
conditions:
- originals_only: false
value: <<region>>
final_tmdb_key:
default: <<tmdb_key>>
conditions:
- region: CA
tmdb_key: [9]
value: 119
allowed_streaming:
conditions:
- originals_only: true
tmdb_key: [103, 1759, 151, 230, 283, 510, 39, 37, 188]
value: False
- region.not: GB
tmdb_key: [103, 151, 39]
value: False
- region.not: CA
tmdb_key: [230]
value: False
- region: CA
tmdb_key: [1899, 37]
value: False
mdblist_list: https://mdblist.com/lists/k0meta/<<key>>-<<originals>>
tmdb_discover:
limit: <<discover_limit>>
with_watch_providers: <<discover_with>>
watch_region: <<discover_region>>
overlays:
Netflix:
variables: {key: netflix, tmdb_key: 8, weight: 160}
template: [name: standard, name: mdb_streaming]
Prime:
variables: {key: amazon, tmdb_key: 9, weight: 150}
template: [name: standard, name: mdb_streaming]
Disney:
variables: {key: disney, tmdb_key: 337, weight: 140}
template: [name: standard, name: mdb_streaming]
Max:
variables: {key: max, tmdb_key: 1899, weight: 130}
template: [name: standard, name: mdb_streaming]
Crunchyroll:
variables: {key: crunchyroll, tmdb_key: 283, weight: 120, allowed_libraries: show}
template: [name: standard, name: mdb_streaming]
YouTube:
variables: {key: youtube, tmdb_key: 188, weight: 110}
template: [name: standard, name: mdb_streaming]
Hulu:
variables: {key: hulu, tmdb_key: 15, weight: 100}
template: [name: standard, name: mdb_streaming]
Paramount:
variables: {key: paramount, tmdb_key: 531, weight: 90}
template: [name: standard, name: mdb_streaming]
AppleTV:
variables: {key: appletv, tmdb_key: 350, weight: 80}
template: [name: standard, name: mdb_streaming]
Peacock:
variables: {key: peacock, tmdb_key: 387, weight: 70}
template: [name: standard, name: mdb_streaming]
Showtime:
variables: {key: showtime, tmdb_key: 37, weight: 60}
template: [name: standard, name: mdb_streaming]
discovery+:
variables: {key: discovery, tmdb_key: 510, weight: 58, allowed_libraries: show}
template: [name: standard, name: mdb_streaming]
Crave:
variables: {key: crave, tmdb_key: 230, weight: 55}
template: [name: standard, name: mdb_streaming]
NOW:
variables: {key: now, tmdb_key: 39, weight: 50}
template: [name: standard, name: mdb_streaming]
All 4:
variables: {key: all4, tmdb_key: 103, weight: 40}
template: [name: standard, name: mdb_streaming]
britbox:
variables: {key: britbox, tmdb_key: 151, weight: 30}
template: [name: standard, name: mdb_streaming]
BET+:
variables: {key: bet, tmdb_key: 1759, weight: 20}
template: [name: standard, name: mdb_streaming]
hayu:
variables: {key: hayu, tmdb_key: 223, weight: 10, allowed_libraries: show}
template: [name: standard, name: mdb_streaming]