[78] remove need for pmm: null

This commit is contained in:
meisnate12 2023-02-21 15:30:26 -05:00
parent e337a62fe2
commit ddfc2eac17
14 changed files with 96 additions and 16 deletions

View file

@ -1 +1 @@
1.18.3-develop77
1.18.3-develop78

View file

@ -38,11 +38,17 @@ external_templates:
value: 0
- horizontal_align: [left, right]
value: 15
pmm:
conditions:
- file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: audio_codec/<<style>>/<<key>>
group: audio_codec
vertical_offset: 15
back_color: "#00000099"
back_width: 305
pmm: audio_codec/<<style>>/<<key>>
templates:
audio_codec:

View file

@ -45,10 +45,16 @@ external_templates:
value: 0
- horizontal_align: [left, right]
value: 15
pmm:
conditions:
- file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: Commonsense
back_color: "#00000099"
back_width: 305
back_height: 105
pmm: Commonsense
addon_position: left
addon_offset: 15
final_name: text(<<pre>><<overlay_name>><<post>>)

View file

@ -31,12 +31,18 @@ external_templates:
value: 0
- horizontal_align: [left, right]
value: 15
pmm:
conditions:
- file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: <<overlay_name>>
horizontal_offset: 0
horizontal_align: center
back_color: "#00000099"
back_width: 305
back_height: 170
pmm: <<overlay_name>>
overlays:
Direct-Play:

View file

@ -13,6 +13,14 @@ external_templates:
style: round
limit: 10
limit_<<key>>: <<limit>>
conditionals:
pmm:
conditions:
- file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: logo/<<style>>/<<key>>
queue: position
back_color: "#00000099"
back_width: 160
@ -21,7 +29,6 @@ external_templates:
addon_position: top
addon_offset: 30
back_padding: 15
pmm: logo/<<style>>/<<key>>
final_name: text(<<pre_text>><<limit_<<key>>>>)
queues:

View file

@ -34,11 +34,17 @@ external_templates:
value: 0
- horizontal_align: [left, right]
value: 15
pmm:
conditions:
- file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: <<key>>_<<image_key>>
group: language
back_color: "#00000099"
back_width: 188
back_height: 105
pmm: <<key>>_<<image_key>>
templates:
language:

View file

@ -32,13 +32,19 @@ external_templates:
value: 26
- style: square
value:
pmm_<<key>>:
conditions:
- file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: flag/<<final_style>>/<<country_<<key>>>>
default:
style: round
country: <<key>>
country_<<key>>: <<country>>
offset: 10
queue: flags
pmm_<<key>>: flag/<<final_style>>/<<country_<<key>>>>
addon_position: <<final_align>>
addon_offset: <<offset>>
back_color: "#00000099"

View file

@ -30,11 +30,17 @@ external_templates:
value: 0
- horizontal_align: [left, right]
value: 15
pmm:
conditions:
- file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: <<overlay_name>>
allowed_libraries: movie
back_color: "#00000099"
back_width: 105
back_height: 105
pmm: <<overlay_name>>
overlays:
Mediastinger:

View file

@ -424,6 +424,17 @@ templates:
- rating<<rating_num>>: [critic, audience, user]
image_level: Rotten
value: lt
rating<<rating_num>>_pmm:
conditions:
- file.exists: false
url.exists: false
git.exists: false
repo.exists: false
rating<<rating_num>>_file.exists: false
rating<<rating_num>>_url.exists: false
rating<<rating_num>>_git.exists: false
rating<<rating_num>>_repo.exists: false
value: rating/<<rating<<rating_num>>_image_url>><<image_extra>>
plex_search:
all:
<<rating<<rating_num>>>>_rating.<<gsuffix>>: <<gte>>

View file

@ -93,8 +93,16 @@ external_templates:
pmm:
conditions:
- type: [edition, edition_dovetail]
file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: edition/<<key>>
- type: [resolution, resolution_dovetail]
file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: resolution/<<key>><<alt>>
group:
conditions:

View file

@ -8,8 +8,15 @@
external_templates:
pmm: templates
template_variables:
conditionals:
pmm:
conditions:
- file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: ribbon/<<key>>
group: ribbon
pmm: ribbon/<<key>>
horizontal_offset: 0
horizontal_align: right
vertical_offset: 0

View file

@ -36,10 +36,16 @@ external_templates:
value: 0
- horizontal_align: [left, right]
value: 15
pmm:
conditions:
- file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: streaming/<<overlay_name>>
back_color: "#00000099"
back_width: 305
back_height: 105
pmm: streaming/<<overlay_name>>
templates:
mdb_streaming:

View file

@ -39,10 +39,16 @@ external_templates:
value: 0
- horizontal_align: [left, right]
value: 15
pmm:
conditions:
- file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: <<overlay_name>>
back_color: "#00000099"
back_width: 105
back_height: 105
pmm: <<overlay_name>>
templates:
versions:

View file

@ -9,11 +9,10 @@ Below are the available variables which can be used to customize the file.
| Variable | Description & Values |
|:--------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `use_<<key>>`<sup>1</sup> | **Description:** Turns off individual Overlays in a Defaults file.<br>**Values:** `false` to turn off the overlay |
| `file` | **Description:** Controls the image associated with the Overlay to a local file. Use `pmm: null` with this to not use the default image.<br>**Values:** Filepath to Overlay Image |
| `url` | **Description:** Controls the image associated with the Overlay to a url. Use `pmm: null` with this to not use the default image.<br>**Values:** URL to Overlay Image |
| `git` | **Description:** Controls the image associated with the Overlay to the git repo. Use `pmm: null` with this to not use the default image.<br>**Values:** Git Path to Overlay Image |
| `repo` | **Description:** Controls the image associated with the Overlay to a custom repo. Use `pmm: null` with this to not use the default image.<br>**Values:** Repo Path to Overlay Image |
| `pmm` | **Description:** Controls the image associated with the Overlay to a pmm file.<br>**Values:** PMM Overlay Image |
| `file` | **Description:** Controls the image associated with the Overlay to a local file.<br>**Values:** Filepath to Overlay Image |
| `url` | **Description:** Controls the image associated with the Overlay to a url.<br>**Values:** URL to Overlay Image |
| `git` | **Description:** Controls the image associated with the Overlay to the git repo.<br>**Values:** Git Path to Overlay Image |
| `repo` | **Description:** Controls the image associated with the Overlay to a custom repo.<br>**Values:** Repo Path to Overlay Image |
| `horizontal_offset` | **Description:** Controls the Horizontal Offset of this overlay. Can be a %.<br>**Values:** Number 0 or greater or 0%-100% |
| `horizontal_align` | **Description:** Controls the Horizontal Alignment of the overlay.<br>**Values:** `left`, `center`, or `right` |
| `vertical_offset` | **Description:** Controls the Vertical Offset of this overlay. Can be a %.<br>**Values:** Number 0 or greater or 0%-100% |