[98] added use_all to ribbon overlays

pull/1561/head
meisnate12 1 year ago
parent cd29b352e8
commit 5fa5eb0fd0

@ -1 +1 @@
1.19.0-develop97 1.19.0-develop98

@ -64,9 +64,16 @@ templates:
- back_line_width - back_line_width
- addon_offset - addon_offset
- addon_position - addon_position
conditionals:
final_use:
conditions:
- use_<<key>>.exists: true
value: <<use_<<key>>>>
- use_all: false
value: false
builder_level: <<builder_level>> builder_level: <<builder_level>>
run_definition: run_definition:
- <<use_<<key>>>> - <<final_use>>
- <<use_<<alt>>>> - <<use_<<alt>>>>
- <<allowed_libraries>> - <<allowed_libraries>>
suppress_overlays: <<suppress_overlays>> suppress_overlays: <<suppress_overlays>>

@ -30,6 +30,7 @@ Supported Overlay Level: Movie, Show
| Metacritic Must See | `metacritic` | `30` | | Metacritic Must See | `metacritic` | `30` |
| Commonsense Selection | `common` | `20` | | Commonsense Selection | `common` | `20` |
| Razzies Winner | `razzie` | `10` | | Razzies Winner | `razzie` | `10` |
## Config ## Config
The below YAML in your config.yml will create the overlays: The below YAML in your config.yml will create the overlays:
@ -61,6 +62,7 @@ All [Shared Overlay Variables](../overlay_variables) are available with the defa
| Variable | Description & Values | | Variable | Description & Values |
|:-----------------------------|:------------------------------------------------------------------------------------------------------------------------| |:-----------------------------|:------------------------------------------------------------------------------------------------------------------------|
| `use_all` | **Description:** Used to turn on/off all keys. <br>**Default:** `true` <br>**Values:** `true` or `false` |
| `weight_<<key>>`<sup>1</sup> | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number | | `weight_<<key>>`<sup>1</sup> | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
| `style` | **Description:** Controls the color of the ribbon. <br>**Default:** `yellow` <br>**Values:** `yellow, gray, black, red` | | `style` | **Description:** Controls the color of the ribbon. <br>**Default:** `yellow` <br>**Values:** `yellow, gray, black, red` |

Loading…
Cancel
Save