[59] update overlay_level to the proper builder_level

This commit is contained in:
meisnate12 2023-05-18 10:18:30 -04:00
parent 2201f1cb1d
commit 1ba8b594b0
23 changed files with 100 additions and 105 deletions

View file

@ -1 +1 @@
1.19.0-develop58
1.19.0-develop59

View file

@ -34,7 +34,7 @@ external_templates:
back_color: "#00000099"
back_width: 305
back_height: 105
overlay_level: episode
builder_level: episode
final_name: text(S<<season_number0>>E<<episode_number0>>)
overlays:

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -122,6 +122,8 @@ queues:
vertical_position:
default: top3
conditions:
- builder_level: episode
value: top2
- overlay_level: episode
value: top2
position: <<group_alignment>>_<<vertical_position>>_<<horizontal_position>>

View file

@ -22,6 +22,7 @@ templates:
overlay: <<overlay_name>>
horizontal_align: left
vertical_align: bottom
builder_level: <<overlay_level>>
conditionals:
vertical_offset:
default: 15
@ -41,7 +42,7 @@ templates:
value: 0
- horizontal_align: [left, right]
value: 15
builder_level: <<overlay_level>>
builder_level: <<builder_level>>
plex_search:
validate: false
all:

View file

@ -8,6 +8,7 @@
templates:
Rating:
default:
builder_level: <<overlay_level>>
rating<<rating_num>>_file: <<file>>
rating<<rating_num>>_url: <<url>>
rating<<rating_num>>_git: <<git>>
@ -90,6 +91,9 @@ templates:
- image_level: Top
rating<<rating_num>>_image: [anidb, letterboxd, rt_popcorn, mdb, tmdb, trakt, mal, star]
value: false
- image_level: Top
builder_level: episode
value: false
- image_level: Top
overlay_level: episode
value: false
@ -441,7 +445,7 @@ templates:
<<rating<<rating_num>>>>_rating.<<lsuffix>>: <<lte>>
mdblist_list: <<mdblist_top>>
imdb_chart: <<imdb_top>>
overlay_level: <<overlay_level>>
builder_level: <<builder_level>>
run_definition: <<run_this>>
ignore_blank_results: true
overlay:

View file

@ -56,7 +56,7 @@ templates:
overlays:
8bit:
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [8bit, 8-bit]}]
A-1 Pictures:
template: [name: standard, name: studios]
@ -71,11 +71,10 @@ overlays:
template: [name: standard, name: studios]
AIC:
variables: {key: AIC, search: [AIC, AIC ASTA, AIC A.S.T.A, AIC Build, AAIC PLUS+, AIC RIGHTS, AIC Spirits]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [AIC, AIC ASTA, AIC A.S.T.A, AIC Build, AAIC PLUS+, AIC RIGHTS, AIC Spirits]}]
Ajia-Do:
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Ajia-Do, Ajiado]}]
Akatsuki:
template: [name: standard, name: studios]
@ -87,8 +86,7 @@ overlays:
template: [name: standard, name: studios]
APPP:
variables: {key: APPP, search: [APPP, A.P.P.P.]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [APPP, A.P.P.P.]}]
Arms:
template: [name: standard, name: studios]
@ -109,21 +107,19 @@ overlays:
template: [name: standard, name: studios]
asread.:
variables: {key: asread., search: [asread., Asread]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [asread., Asread]}]
AtelierPontdarc:
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [AtelierPontdarc, Atelier Pontdarc]}]
B.CMAY PICTURES:
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [B.CMAY PICTURES, G.CMay Animation & Film]}]
Bakken Record:
template: [name: standard, name: studios]
Bandai Namco Pictures:
variables: {key: Bandai Namco Pictures, search: [Bandai Namco Pictures, Bandai Visual, Bandai Visual Company]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Bandai Namco Pictures, Bandai Visual, Bandai Visual Company]}]
Bardel Entertainment:
template: [name: standard, name: studios]
@ -132,8 +128,7 @@ overlays:
template: [name: standard, name: studios]
Bibury Animation Studios:
variables: {key: Bibury Animation Studios, search: [Bibury Animation Studios, Bibury Animation CG]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Bibury Animation Studios, Bibury Animation CG]}]
bilibili:
template: [name: standard, name: studios]
@ -160,7 +155,7 @@ overlays:
template: [name: standard, name: studios]
Cloud Hearts:
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Cloud Hearts, CLOUDHEARTS]}]
CloverWorks:
template: [name: standard, name: studios]
@ -175,15 +170,13 @@ overlays:
template: [name: standard, name: studios]
Craftar Studios:
variables: {key: Craftar Studios, search: [Craftar Studios, Craftar Studios]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Craftar Studios, Craftar Studios]}]
Creators in Pack:
template: [name: standard, name: studios]
CygamesPictures:
variables: {key: CygamesPictures, search: [CygamesPictures, Cygames Pictures]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [CygamesPictures, Cygames Pictures]}]
David Production:
template: [name: standard, name: studios]
@ -213,8 +206,7 @@ overlays:
template: [name: standard, name: studios]
feel.:
variables: {key: feel., search: [feel., Feel]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [feel., Feel]}]
Felix Film:
template: [name: standard, name: studios]
@ -229,13 +221,13 @@ overlays:
template: [name: standard, name: studios]
Gallop:
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Gallop, Studio Gallop]}]
GAINAX:
template: [name: standard, name: studios]
Geek Toys:
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Geek Toys, GEEKTOYS]}]
Gekkou:
template: [name: standard, name: studios]
@ -250,12 +242,10 @@ overlays:
template: [name: standard, name: studios]
GoHands:
variables: {key: GoHands, search: [GoHands, Go Hands]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [GoHands, Go Hands]}]
Gonzo:
variables: {key: Gonzo, search: [Gonzo, Gonzo Digimation]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Gonzo, Gonzo Digimation]}]
Graphinica:
template: [name: standard, name: studios]
@ -267,8 +257,7 @@ overlays:
template: [name: standard, name: studios]
Haoliners Animation League:
variables: {key: Haoliners Animation League, search: [Haoliners Animation League, Haoliners Huimeng Animation]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Haoliners Animation League, Haoliners Huimeng Animation, Haoliners Animation]}]
Hoods Entertainment:
template: [name: standard, name: studios]
@ -280,7 +269,7 @@ overlays:
template: [name: standard, name: studios]
J.C.Staff:
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [J.C.Staff, J.C. Staff]}]
Jumondou:
template: [name: standard, name: studios]
@ -298,8 +287,7 @@ overlays:
template: [name: standard, name: studios]
Lan Studio:
variables: {key: Lan Studio, search: [Lan Studio, Studio LAN]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Lan Studio, Studio LAN]}]
LandQ Studio:
template: [name: standard, name: studios]
@ -314,8 +302,7 @@ overlays:
template: [name: standard, name: studios]
LIDENFILMS:
variables: {key: LIDENFILMS, search: [LIDENFILMS, Liden Films]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [LIDENFILMS, Liden Films]}]
M.S.C:
template: [name: standard, name: studios]
@ -387,15 +374,13 @@ overlays:
template: [name: standard, name: studios]
Pierrot:
variables: {key: Pierrot, search: [Pierrot, Pierrot Plus, Studio Pierrot]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Pierrot, Pierrot Plus, Studio Pierrot]}]
Pine Jam:
template: [name: standard, name: studios]
Platinum Vision:
variables: {key: Platinum Vision, search: [Platinum Vision, PlatinumVision]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Platinum Vision, PlatinumVision]}]
Polygon Pictures:
template: [name: standard, name: studios]
@ -410,7 +395,7 @@ overlays:
template: [name: standard, name: studios]
Production +h.:
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Production +h., Production +h]}]
Production I.G:
template: [name: standard, name: studios]
@ -446,15 +431,13 @@ overlays:
template: [name: standard, name: studios]
Science SARU:
variables: {key: Science SARU, search: [Science SARU, Science Saru]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Science SARU, Science Saru]}]
Sentai Filmworks:
template: [name: standard, name: studios]
Seven Arcs:
variables: {key: Seven Arcs, search: [Seven Arcs, Seven, even Arcs Pictures]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Seven Arcs, Seven, even Arcs Pictures]}]
Shaft:
template: [name: standard, name: studios]
@ -463,19 +446,16 @@ overlays:
template: [name: standard, name: studios]
Shogakukan:
variables: {key: Shogakukan, search: [Shogakukan, Shogakukan Production]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Shogakukan, Shogakukan Production]}]
Shuka:
template: [name: standard, name: studios]
SILVER LINK.:
variables: {key: SILVER LINK., search: [SILVER LINK., Silver Link]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [SILVER LINK., Silver Link]}]
Signal.MD:
variables: {key: Signal.MD, search: [Signal.MD, Signal MD]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Signal.MD, Signal MD]}]
Staple Entertainment:
template: [name: standard, name: studios]
@ -490,7 +470,7 @@ overlays:
template: [name: standard, name: studios]
Studio Blanc.:
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [Studio Blanc., Studio Blanc]}]
Studio Chizu:
template: [name: standard, name: studios]
@ -571,8 +551,7 @@ overlays:
template: [name: standard, name: studios]
TMS Entertainment:
variables: {key: TMS Entertainment, search: [TMS Entertainment, okyo Movie Shinsha]}
template: [name: standard, name: studios]
template: [name: standard, {name: studios, search: [TMS Entertainment, okyo Movie Shinsha]}]
TNK:
template: [name: standard, name: studios]

View file

@ -33,6 +33,7 @@ templates:
back_line_color_<<key>>: <<back_line_color>>
back_line_width_<<key>>: <<back_line_width>>
final_name: <<overlay_name>>
builder_level: <<overlay_level>>
optional:
- overlay_level
- use_<<key>>
@ -63,7 +64,7 @@ templates:
- back_line_width
- addon_offset
- addon_position
overlay_level: <<overlay_level>>
builder_level: <<builder_level>>
run_definition:
- <<use_<<key>>>>
- <<use_<<alt>>>>

View file

@ -15,11 +15,16 @@ external_templates:
horizontal_align:
default: right
conditions:
- builder_level: episode
value: center
- overlay_level: episode
value: center
vertical_offset:
default: 15
conditions:
- vertical_align.exists: false
builder_level.not: episode
value: 1060
- vertical_align.exists: false
overlay_level.not: episode
value: 1060
@ -32,6 +37,9 @@ external_templates:
horizontal_offset:
default: 15
conditions:
- horizontal_align.exists: false
builder_level: episode
value: 235
- horizontal_align.exists: false
overlay_level: episode
value: 235

View file

@ -51,10 +51,10 @@ libraries:
- pmm: audio_codec
- pmm: audio_codec
template_variables:
overlay_level: season
builder_level: season
- pmm: audio_codec
template_variables:
overlay_level: episode
builder_level: episode
```
## Template Variables
@ -79,7 +79,7 @@ All [Shared Overlay Variables](../overlay_variables) are available with the defa
| Variable | Description & Values |
|:-----------------------------|:-------------------------------------------------------------------------------------------------------------|
| `style` | **Description:** Choose the Overlay Style.<br>**Default:** `compact`<br>**Values:** `compact` or `standard` |
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `builder_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `weight_<<key>>`<sup>1</sup> | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
| `regex_<<key>>`<sup>1</sup> | **Description:** Controls the regex of the Overlay Search.<br>**Values:** Any Proper Regex |

View file

@ -48,10 +48,10 @@ libraries:
- pmm: commonsense
- pmm: commonsense
template_variables:
overlay_level: season
builder_level: season
- pmm: commonsense
template_variables:
overlay_level: episode
builder_level: episode
```
## Template Variables
@ -87,7 +87,7 @@ All [Shared Overlay Variables](../overlay_variables) are available with the defa
| `post_text` | **Description:** Choose the text after the key for the Overlay.<br>**Default:** `+`<br>**Values:** Any String |
| `pre_nr_text` | **Description:** Choose the text before the `nr` key for the Overlay.<br>**Values:** Any String |
| `post_nr_text` | **Description:** Choose the text after the `nr` key for the Overlay.<br>**Values:** Any String |
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `builder_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
The below is an example config.yml extract with some Template Variables added in to change how the file works.

View file

@ -37,10 +37,10 @@ libraries:
- pmm: content_rating_uk
- pmm: content_rating_uk
template_variables:
overlay_level: season
builder_level: season
- pmm: content_rating_uk
template_variables:
overlay_level: episode
builder_level: episode
```
## Template Variables
@ -74,7 +74,7 @@ All [Shared Overlay Variables](../overlay_variables) are available with the defa
| `stroke_color` | **Description:** Font Stroke Color for the Text Overlay.<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
| `addon_offset` | **Description:** Text Addon Image Offset from the text.<br>**Default:** `15`<br>**Values:** Any Number greater then 0 |
| `addon_position` | **Description:** Text Addon Image Alignment in relation to the text.<br>**Default:** `left`<br>**Values:** `left`, `right`, `top`, `bottom` |
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `builder_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
The below is an example config.yml extract with some Template Variables added in to change how the file works.

View file

@ -32,10 +32,10 @@ libraries:
- pmm: content_rating_us_show
- pmm: content_rating_us_show
template_variables:
overlay_level: season
builder_level: season
- pmm: content_rating_us_show
template_variables:
overlay_level: episode
builder_level: episode
```
## Template Variables
@ -82,9 +82,9 @@ libraries:
- pmm: content_rating_us_show
template_variables:
color: false
overlay_level: season
builder_level: season
- pmm: content_rating_us_show
template_variables:
color: false
overlay_level: episode
builder_level: episode
```

View file

@ -43,7 +43,7 @@ All [Shared Overlay Variables](../overlay_variables) are available with the defa
| Variable | Description & Values |
|:----------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `builder_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
The below is an example config.yml extract with some Template Variables added in to change how the file works.
@ -53,5 +53,5 @@ libraries:
overlay_path:
- pmm: direct_play
template_variables:
overlay_level: episode
builder_level: episode
```

View file

@ -29,10 +29,10 @@ libraries:
- pmm: language_count
- pmm: language_count
template_variables:
overlay_level: season
builder_level: season
- pmm: language_count
template_variables:
overlay_level: episode
builder_level: episode
```
## Template Variables
@ -58,7 +58,7 @@ All [Shared Overlay Variables](../overlay_variables) are available with the defa
|:-----------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `use_subtitles` | **Description:** Controls if the overlay is based on subtitle language instead of audio language.<br>**Values:** `true` to look at subtitle language instead of audio language |
| `minimum` | **Description:** Choose the minimum for the `multi` Overlay.<br>**Default:** `2` <br>**Values:** Any Number |
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `builder_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `weight_<<key>>`<sup>1</sup> | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
1. Each default overlay has a `key` that when calling to effect a specific overlay you must replace `<<key>>` with when calling.

View file

@ -100,10 +100,10 @@ libraries:
- pmm: languages
- pmm: languages
template_variables:
overlay_level: season
builder_level: season
- pmm: languages
template_variables:
overlay_level: episode
builder_level: episode
```
## Template Variables
@ -132,7 +132,7 @@ All [Shared Overlay Variables](../overlay_variables) are available with the defa
|:------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `languages` | **Description:** Controls which Languages will be active.<br>**Default:** `["en", "de", "fr", "es", "pt", "ja"]` <br>**Values:** List of [ISO 639-1 Codes](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) for the Languages desired |
| `use_subtitles` | **Description:** Controls if the overlay is based on subtitle language instead of audio language.<br>**Values:** `true` to look at subtitle language instead of audio language |
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `builder_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `horizontal_position` | **Description:** Choose the horizontal position for the flag group.<br>**Default:** `left`<br>**Values:** `left`, `left2`, `center`, `center_left`, `center_right`, `right` or `right2` |
| `vertical_position` | **Description:** Choose the vertical position for the flag group.<br>**Default:** `top`<br>**Values:** `top`, `top2`, `top3`, `center`, `center_top`, `center_bottom`, `bottom`, `bottom2` or `bottom3` |
| `overlay_limit` | **Description:** Choose the number of overlay this queue displays.<br>**Default:** `3`<br>**Values:** `1`, `2`, `3`, `4`, or `5` |

View file

@ -19,10 +19,10 @@ libraries:
- pmm: network
- pmm: network
template_variables:
overlay_level: season
builder_level: season
- pmm: network
template_variables:
overlay_level: episode
builder_level: episode
```
## Template Variables
@ -57,9 +57,9 @@ libraries:
- pmm: network
template_variables:
vertical_offset: 390
overlay_level: season
builder_level: season
- pmm: network
template_variables:
vertical_offset: 390
overlay_level: episode
builder_level: episode
```

View file

@ -47,7 +47,7 @@ The below YAML in your config.yml will create the overlays:
rating3_image: tmdb
- pmm: ratings
template_variables:
overlay_level: episode
builder_level: episode
rating1: critic
rating2: audience
rating1_image: imdb
@ -106,7 +106,7 @@ All [Shared Overlay Variables](../overlay_variables) can be appended by `rating1
| `stroke_color`<sup>1</sup> | **Description:** Font Stroke Color for the Text Overlay.<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
| `addon_offset`<sup>1</sup> | **Description:** Text Addon Image Offset from the text.<br>**Default:** `15`<br>**Values:** Any Number greater then 0 |
| `addon_position`<sup>1</sup> | **Description:** Text Addon Image Alignment in relation to the text.<br>**Default:** `left`<br>**Values:** `left`, `right`, `top`, `bottom` |
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `episode` |
| `builder_level` | **Description:** Choose the Overlay Level.<br>**Values:** `episode` |
1. These Variables can be appended by `rating1_`, `rating2_`, or `rating3_` to change that attribute on each rating individually.
@ -161,7 +161,7 @@ The below is an example config.yml extract with some Template Variables added in
horizontal_position: right
- pmm: ratings
template_variables:
overlay_level: episode
builder_level: episode
rating1: critic
rating1_image: imdb

View file

@ -80,10 +80,10 @@ libraries:
- pmm: resolution
- pmm: resolution
template_variables:
overlay_level: season
builder_level: season
- pmm: resolution
template_variables:
overlay_level: episode
builder_level: episode
```
## Template Variables
@ -109,7 +109,7 @@ All [Shared Overlay Variables](../overlay_variables) are available with the defa
|:-----------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------|
| `use_resolution` | **Description:** Turns off all Resolution Overlays in the Defaults file.<br>**Values:** `false` to turn off the overlays |
| `use_edition` | **Description:** Turns off all Edition Overlays in the Defaults file.<br>**Values:** `false` to turn off the overlays |
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `builder_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `weight_<<key>>`<sup>1</sup> | **Description:** Controls the weight of the Overlay. Higher numbers have priority. **Only works with Edition keys.**<br>**Values:** Any Number |
1. Each default overlay has a `key` that when calling to effect a specific overlay you must replace `<<key>>` with when calling.

View file

@ -22,7 +22,7 @@ libraries:
- pmm: runtimes
- pmm: runtimes
template_variables:
overlay_level: episode
builder_level: episode
```
## Template Variables
@ -44,15 +44,15 @@ All [Shared Overlay Variables](../overlay_variables) are available with the defa
| `back_width` | `600` |
| `back_height` | `105` |
| Variable | Description & Values |
|:---------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `text` | **Description:** Choose the text for the Overlay.<br>**Default:** `Runtime: `<br>**Values:** Any String |
| `font` | **Description:** Choose the font for the Overlay.<br>**Default:** `fonts/Inter-Medium.ttf`<br>**Values:** Path to font file |
| `font_style` | **Description:** Font style for Variable Fonts.<br>**Values:** Variable Font Style |
| `font_size` | **Description:** Choose the font size for the Overlay.<br>**Default:** `55`<br>**Values:** Any Number greater then 0 |
| `font_color` | **Description:** Choose the font color for the Overlay.<br>**Default:** `#FFFFFF`<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
| `stroke_width` | **Description:** Font Stroke Width for the Text Overlay.<br>**Values:** Any Number greater then 0 |
| `stroke_color` | **Description:** Font Stroke Color for the Text Overlay.<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
| Variable | Description & Values |
|:---------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `text` | **Description:** Choose the text for the Overlay.<br>**Default:** `Runtime: `<br>**Values:** Any String |
| `font` | **Description:** Choose the font for the Overlay.<br>**Default:** `fonts/Inter-Medium.ttf`<br>**Values:** Path to font file |
| `font_style` | **Description:** Font style for Variable Fonts.<br>**Values:** Variable Font Style |
| `font_size` | **Description:** Choose the font size for the Overlay.<br>**Default:** `55`<br>**Values:** Any Number greater then 0 |
| `font_color` | **Description:** Choose the font color for the Overlay.<br>**Default:** `#FFFFFF`<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
| `stroke_width` | **Description:** Font Stroke Width for the Text Overlay.<br>**Values:** Any Number greater then 0 |
| `stroke_color` | **Description:** Font Stroke Color for the Text Overlay.<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
The below is an example config.yml extract with some Template Variables added in to change how the file works.
@ -62,6 +62,6 @@ libraries:
overlay_path:
- pmm: runtimes
template_variables:
overlay_level: episode
builder_level: episode
font: fonts/Inter-Bold.ttf
```

View file

@ -22,10 +22,10 @@ libraries:
- pmm: versions
- pmm: versions
template_variables:
overlay_level: season
builder_level: season
- pmm: versions
template_variables:
overlay_level: episode
builder_level: episode
```
## Template Variables
@ -49,7 +49,7 @@ All [Shared Overlay Variables](../overlay_variables) are available with the defa
| Variable | Description & Values |
|:----------------|:--------------------------------------------------------------------------------|
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `builder_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
The below is an example config.yml extract with some Template Variables added in to change how the file works.

View file

@ -35,10 +35,10 @@ libraries:
- pmm: video_format
- pmm: video_format
template_variables:
overlay_level: season
builder_level: season
- pmm: video_format
template_variables:
overlay_level: episode
builder_level: episode
```
## Template Variables
@ -62,7 +62,7 @@ All [Shared Overlay Variables](../overlay_variables) are available with the defa
| Variable | Description & Values |
|:-----------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `builder_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `font` | **Description:** Choose the font for the Overlay.<br>**Default:** `fonts/Inter-Medium.ttf`<br>**Values:** Path to font file |
| `font_style` | **Description:** Font style for Variable Fonts.<br>**Values:** Variable Font Style |
| `font_size` | **Description:** Choose the font size for the Overlay.<br>**Default:** `55`<br>**Values:** Any Number greater then 0 |