2023-06-23 04:53:24 +00:00
|
|
|
##############################################################################
|
|
|
|
# Aspect Ratio Overlay #
|
|
|
|
# Created by Yozora, Bullmoose20, & Sohjiro #
|
|
|
|
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
|
2024-04-22 14:20:12 +00:00
|
|
|
# https://kometa.wiki/en/latest/defaults/overlays/aspect #
|
2023-06-23 04:53:24 +00:00
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
external_templates:
|
2024-04-22 14:20:12 +00:00
|
|
|
default: templates
|
2023-06-23 04:53:24 +00:00
|
|
|
template_variables:
|
|
|
|
default:
|
|
|
|
text_<<key>>: <<overlay_name>>
|
|
|
|
horizontal_align: center
|
|
|
|
vertical_align: bottom
|
|
|
|
conditionals:
|
|
|
|
vertical_offset:
|
|
|
|
default: 15
|
|
|
|
conditions:
|
|
|
|
- vertical_align: center
|
|
|
|
value: 0
|
|
|
|
- vertical_align: top
|
|
|
|
value: 15
|
|
|
|
- vertical_align: bottom
|
|
|
|
value: 150
|
|
|
|
horizontal_offset:
|
|
|
|
default: 15
|
|
|
|
conditions:
|
|
|
|
- horizontal_align: center
|
|
|
|
value: 0
|
|
|
|
- horizontal_align: [left, right]
|
|
|
|
value: 15
|
|
|
|
group: aspect
|
2023-06-26 02:29:05 +00:00
|
|
|
font: fonts/Inter-Medium.ttf
|
2023-06-23 04:53:24 +00:00
|
|
|
font_size: 63
|
|
|
|
back_color: "#00000099"
|
|
|
|
back_width: 305
|
|
|
|
back_height: 105
|
|
|
|
final_name: text(<<text_<<key>>>>)
|
|
|
|
|
|
|
|
templates:
|
|
|
|
aspect:
|
|
|
|
ignore_blank_results: true
|
|
|
|
plex_all: true
|
|
|
|
|
|
|
|
overlays:
|
|
|
|
1.33:
|
|
|
|
variables: {key: 1.33, weight: 80}
|
|
|
|
template: [name: standard, name: aspect]
|
|
|
|
filters:
|
|
|
|
aspect.gt: 1.32
|
|
|
|
aspect.lt: 1.34
|
|
|
|
1.65:
|
|
|
|
variables: {key: 1.65, weight: 70}
|
|
|
|
template: [name: standard, name: aspect]
|
|
|
|
plex_all: true
|
|
|
|
filters:
|
|
|
|
aspect.gt: 1.64
|
|
|
|
aspect.lt: 1.66
|
|
|
|
1.66:
|
|
|
|
variables: {key: 1.66, weight: 60}
|
|
|
|
template: [name: standard, name: aspect]
|
|
|
|
plex_all: true
|
|
|
|
filters:
|
|
|
|
aspect.gt: 1.65
|
|
|
|
aspect.lt: 1.67
|
|
|
|
1.78:
|
|
|
|
variables: {key: 1.78, weight: 50}
|
|
|
|
template: [name: standard, name: aspect]
|
|
|
|
plex_all: true
|
|
|
|
filters:
|
|
|
|
aspect.gt: 1.77
|
|
|
|
aspect.lt: 1.79
|
|
|
|
1.85:
|
|
|
|
variables: {key: 1.85, weight: 40}
|
|
|
|
template: [name: standard, name: aspect]
|
|
|
|
plex_all: true
|
|
|
|
filters:
|
|
|
|
aspect.gt: 1.84
|
|
|
|
aspect.lt: 1.86
|
|
|
|
2.2:
|
|
|
|
variables: {key: 2.2, weight: 30}
|
|
|
|
template: [name: standard, name: aspect]
|
|
|
|
plex_all: true
|
|
|
|
filters:
|
|
|
|
aspect.gt: 2.1
|
|
|
|
aspect.lt: 2.3
|
|
|
|
2.35:
|
|
|
|
variables: {key: 2.35, weight: 20}
|
|
|
|
template: [name: standard, name: aspect]
|
|
|
|
plex_all: true
|
|
|
|
filters:
|
|
|
|
aspect.gt: 2.34
|
|
|
|
aspect.lt: 2.36
|
|
|
|
2.77:
|
|
|
|
variables: {key: 2.77, weight: 10}
|
|
|
|
template: [name: standard, name: aspect]
|
|
|
|
plex_all: true
|
|
|
|
filters:
|
|
|
|
aspect.gt: 2.76
|
|
|
|
aspect.lt: 2.78
|