[78] remove need for pmm: null

pull/1324/head
meisnate12 2 years ago
parent e337a62fe2
commit ddfc2eac17

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

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

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

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

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

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

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

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

@ -424,6 +424,17 @@ templates:
- rating<<rating_num>>: [critic, audience, user] - rating<<rating_num>>: [critic, audience, user]
image_level: Rotten image_level: Rotten
value: lt 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: plex_search:
all: all:
<<rating<<rating_num>>>>_rating.<<gsuffix>>: <<gte>> <<rating<<rating_num>>>>_rating.<<gsuffix>>: <<gte>>

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

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

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

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

@ -9,11 +9,10 @@ Below are the available variables which can be used to customize the file.
| Variable | Description & Values | | 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 | | `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 | | `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. Use `pmm: null` with this to not use the default image.<br>**Values:** URL 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. Use `pmm: null` with this to not use the default image.<br>**Values:** Git Path 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. Use `pmm: null` with this to not use the default image.<br>**Values:** Repo Path to Overlay Image | | `repo` | **Description:** Controls the image associated with the Overlay to a custom repo.<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 |
| `horizontal_offset` | **Description:** Controls the Horizontal Offset of this overlay. Can be a %.<br>**Values:** Number 0 or greater or 0%-100% | | `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` | | `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% | | `vertical_offset` | **Description:** Controls the Vertical Offset of this overlay. Can be a %.<br>**Values:** Number 0 or greater or 0%-100% |

Loading…
Cancel
Save