Plex-Meta-Manager/defaults/overlays/status.yml

61 lines
1.7 KiB
YAML
Raw Normal View History

##############################################################################
# Status Overlay #
# Created by Yozora, Bullmoose20, & Sohjiro #
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
# https://metamanager.wiki/en/latest/defaults/overlays/status.html #
##############################################################################
external_templates:
pmm: templates
template_variables:
text_<<key>>: <<text>>
group: status
horizontal_offset: 15
horizontal_align: left
vertical_offset: 330
vertical_align: top
font_size: 50
2022-10-17 20:55:42 +00:00
back_color: "#00000099"
back_width: 305
back_height: 105
allowed_libraries: show
final_name: text(<<text_<<key>>>>)
templates:
status:
optional:
- last
conditionals:
all:
conditions:
- key: [ended, returning, canceled]
value: true
tmdb:
conditions:
- key: [ended, returning, canceled]
value: <<key>>
ignore_blank_results: true
plex_search:
any:
episode_air_date: <<last>>
plex_all: <<all>>
filters:
2022-10-19 10:08:37 +00:00
tmdb_status: <<tmdb>>
overlays:
airing_shows:
variables: {key: airing, weight: 40, text: AIRING, last: 14}
template: [name: standard, name: status]
returning_shows:
variables: {key: returning, weight: 30, text: RETURNING}
template: [name: standard, name: status]
canceled_shows:
variables: {key: canceled, weight: 20, text: CANCELED}
template: [name: standard, name: status]
ended_shows:
variables: {key: ended, weight: 10, text: ENDED}
template: [name: standard, name: status]