[20] update overlays with default positions

pull/1288/head
meisnate12 2 years ago
parent 28c41fe784
commit facfcba066

@ -1 +1 @@
1.18.3-develop19 1.18.3-develop20

@ -9,20 +9,37 @@
external_templates: external_templates:
pmm: templates pmm: templates
template_variables: template_variables:
default:
standard_value: 105
style: compact
horizontal_align: center
vertical_align: top
conditionals: conditionals:
back_height: back_height:
default: 105 default: 105
conditions: conditions:
- style: standard - style: standard
value: <<standard_value>> value: <<standard_value>>
default: vertical_offset:
standard_value: 105 default: 15
style: compact conditions:
- vertical_align.exists: false
value: 150
- vertical_align: center
value: 0
- vertical_align: top
value: 15
- vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
group: audio_codec group: audio_codec
horizontal_offset: 0
horizontal_align: center
vertical_offset: 15 vertical_offset: 15
vertical_align: top
back_color: "#00000099" back_color: "#00000099"
back_width: 305 back_width: 305
pmm: audio_codec/<<style>>/<<key>> pmm: audio_codec/<<style>>/<<key>>

@ -8,6 +8,14 @@
external_templates: external_templates:
pmm: templates pmm: templates
template_variables: template_variables:
default:
key: <<overlay_name>>
pre_text: ""
post_text: "+"
pre_nr_text: ""
post_nr_text: ""
horizontal_align: left
vertical_align: bottom
conditionals: conditionals:
pre: pre:
default: <<pre_text>> default: <<pre_text>>
@ -19,16 +27,24 @@ external_templates:
conditions: conditions:
- overlay_name: NR - overlay_name: NR
value: <<post_nr_text>> value: <<post_nr_text>>
default: vertical_offset:
key: <<overlay_name>> default: 15
pre_text: "" conditions:
post_text: "+" - vertical_align.exists: false
pre_nr_text: "" value: 270
post_nr_text: "" - vertical_align: center
horizontal_offset: 15 value: 0
horizontal_align: left - vertical_align: top
vertical_offset: 270 value: 15
vertical_align: bottom - vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
back_color: "#00000099" back_color: "#00000099"
back_width: 305 back_width: 305
back_height: 105 back_height: 105

@ -9,10 +9,30 @@
external_templates: external_templates:
pmm: templates pmm: templates
template_variables: template_variables:
horizontal_offset: 0 default:
horizontal_align: center horizontal_align: center
vertical_offset: 150
vertical_align: bottom vertical_align: bottom
conditionals:
vertical_offset:
default: 15
conditions:
- vertical_align.exists: false
value: 150
- vertical_align: center
value: 0
- vertical_align: top
value: 15
- vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
horizontal_offset: 0
horizontal_align: center
back_color: "#00000099" back_color: "#00000099"
back_width: 305 back_width: 305
back_height: 170 back_height: 170

@ -8,11 +8,29 @@
external_templates: external_templates:
pmm: templates pmm: templates
template_variables: template_variables:
allowed_libraries: show default:
horizontal_offset: 15
horizontal_align: right horizontal_align: right
vertical_offset: 150
vertical_align: bottom vertical_align: bottom
conditionals:
vertical_offset:
default: 15
conditions:
- vertical_align.exists: false
value: 150
- vertical_align: center
value: 0
- vertical_align: top
value: 15
- vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
allowed_libraries: show
back_color: "#00000099" back_color: "#00000099"
back_width: 305 back_width: 305
back_height: 105 back_height: 105

@ -9,17 +9,32 @@
external_templates: external_templates:
pmm: templates pmm: templates
template_variables: template_variables:
default:
horizontal_align: center
vertical_align: bottom
conditionals: conditionals:
image_key: image_key:
default: audio default: audio
conditions: conditions:
- use_subtitles: true - use_subtitles: true
value: subs value: subs
vertical_offset:
default: 15
conditions:
- vertical_align: center
value: 0
- vertical_align: top
value: 15
- vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
group: language group: language
horizontal_offset: 0
horizontal_align: center
vertical_offset: 30
vertical_align: bottom
back_color: "#00000099" back_color: "#00000099"
back_width: 188 back_width: 188
back_height: 105 back_height: 105

@ -8,11 +8,29 @@
external_templates: external_templates:
pmm: templates pmm: templates
template_variables: template_variables:
allowed_libraries: movie default:
horizontal_offset: 200
horizontal_align: right horizontal_align: right
vertical_offset: 15
vertical_align: top vertical_align: top
conditionals:
vertical_offset:
default: 15
conditions:
- vertical_align: center
value: 0
- vertical_align: top
value: 15
- vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align.exists: false
value: 200
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
allowed_libraries: movie
back_color: "#00000099" back_color: "#00000099"
back_width: 105 back_width: 105
back_height: 105 back_height: 105

@ -8,17 +8,31 @@
external_templates: external_templates:
pmm: templates pmm: templates
template_variables: template_variables:
default:
text: "Runtime: "
horizontal_align: right
vertical_align: bottom
conditionals: conditionals:
overlay_level: overlay_level:
conditions: conditions:
- library_type: show - library_type: show
value: episode value: episode
default: vertical_offset:
text: "Runtime: " default: 15
horizontal_offset: 15 conditions:
horizontal_align: right - vertical_align: center
vertical_offset: 30 value: 0
vertical_align: bottom - vertical_align: top
value: 15
- vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
back_color: "#00000099" back_color: "#00000099"
back_width: 600 back_width: 600
back_height: 105 back_height: 105

@ -10,10 +10,28 @@ external_templates:
template_variables: template_variables:
text_<<key>>: <<text>> text_<<key>>: <<text>>
group: status group: status
horizontal_offset: 15 default:
horizontal_align: left horizontal_align: left
vertical_offset: 330
vertical_align: top vertical_align: top
conditionals:
vertical_offset:
default: 15
conditions:
- vertical_align.exists: false
value: 330
- vertical_align: center
value: 0
- vertical_align: top
value: 15
- vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
font_size: 50 font_size: 50
back_color: "#00000099" back_color: "#00000099"
back_width: 305 back_width: 305

@ -10,10 +10,28 @@ external_templates:
pmm: templates pmm: templates
template_variables: template_variables:
group: streaming group: streaming
horizontal_offset: 15 default:
horizontal_align: left horizontal_align: left
vertical_offset: 150
vertical_align: bottom vertical_align: bottom
conditionals:
vertical_offset:
default: 15
conditions:
- vertical_align.exists: false
value: 150
- vertical_align: center
value: 0
- vertical_align: top
value: 15
- vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
back_color: "#00000099" back_color: "#00000099"
back_width: 305 back_width: 305
back_height: 105 back_height: 105

@ -9,23 +9,36 @@
external_templates: external_templates:
pmm: templates pmm: templates
template_variables: template_variables:
default:
vertical_align: top
conditionals: conditionals:
vertical_offset: vertical_offset:
default: 1050 default: 15
conditions: conditions:
- overlay_level: episode - vertical_align.exists: false
overlay_level.not: episode
value: 1050
- vertical_align: center
value: 0
- vertical_align: top
value: 15 value: 15
- vertical_align: bottom
value: 30
horizontal_offset: horizontal_offset:
default: 15 default: 15
conditions: conditions:
- overlay_level: episode - horizontal_align.exists: false
overlay_level: episode
value: 235 value: 235
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
horizontal_align: horizontal_align:
default: right default: right
conditions: conditions:
- overlay_level: episode - overlay_level: episode
value: center value: center
vertical_align: top
back_color: "#00000099" back_color: "#00000099"
back_width: 105 back_width: 105
back_height: 105 back_height: 105
@ -37,7 +50,7 @@ templates:
version_style: version_style:
default: "duplicate" default: "duplicate"
conditions: conditions:
- overlay_level: ['show', 'season', 'episode'] - library_type: "show"
value: "episode_duplicate" value: "episode_duplicate"
plex_search: plex_search:
all: all:

@ -11,11 +11,26 @@ external_templates:
template_variables: template_variables:
default: default:
text_<<key>>: <<overlay_name>> text_<<key>>: <<overlay_name>>
group: quality
horizontal_offset: 15
horizontal_align: left horizontal_align: left
vertical_offset: 30
vertical_align: bottom vertical_align: bottom
conditionals:
vertical_offset:
default: 15
conditions:
- vertical_align: center
value: 0
- vertical_align: top
value: 15
- vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
group: quality
back_color: "#00000099" back_color: "#00000099"
back_width: 305 back_width: 305
back_height: 105 back_height: 105

@ -141,7 +141,7 @@ Updates every item's original title in the library to the chosen site's original
Updates every item's originally available date in the library to the chosen site's date. Updates every item's originally available date in the library to the chosen site's date.
**Attribute:** `mass_original_title_update` **Attribute:** `mass_originally_available_update`
**Values:** **Values:**
@ -245,7 +245,12 @@ Updates every item's labels in the library to match the IMDb Parental Guide
**Attribute:** `mass_imdb_parental_labels` **Attribute:** `mass_imdb_parental_labels`
**Values** `with_none` or `without_none` **Values:**
| Value | Description |
|:---------------|:--------------------------------------------------------------------------------------------------------------------|
| `with_none` | Apply all Parental Labels regardless of value |
| `without_none` | Only apply Parental Labels if the value is not none (i.e. do not apply "Sex & Nudity" label if the value is "None") |
## Mass Collection Mode ## Mass Collection Mode

@ -18,6 +18,7 @@ These collections are applied by calling the below paths into the `metadata_path
| [Independent Spirit](award/spirit) | `spirit` | Independent Spirit Awards 2021 | &#9989;<sup>1</sup> | &#10060; | | [Independent Spirit](award/spirit) | `spirit` | Independent Spirit Awards 2021 | &#9989;<sup>1</sup> | &#10060; |
| [Sundance](award/sundance) | `sundance` | Sundance Grand Jury Winners | &#9989;<sup>1</sup> | &#10060; | | [Sundance](award/sundance) | `sundance` | Sundance Grand Jury Winners | &#9989;<sup>1</sup> | &#10060; |
| [Other](award/other) | `other_award` | Berlinale Golden Bears, Venice Golden Lions | &#9989;<sup>1</sup> | &#10060; | | [Other](award/other) | `other_award` | Berlinale Golden Bears, Venice Golden Lions | &#9989;<sup>1</sup> | &#10060; |
<sup>1</sup> Requires [Trakt Authentication](../config/trakt) <sup>1</sup> Requires [Trakt Authentication](../config/trakt)
### Chart Collections ### Chart Collections
@ -34,8 +35,8 @@ These collections are applied by calling the below paths into the `metadata_path
| [Tautulli](chart/tautulli) | `tautulli` | Plex Popular, Plex Watched | &#9989;<sup>2</sup> | &#9989;<sup>2</sup> | | [Tautulli](chart/tautulli) | `tautulli` | Plex Popular, Plex Watched | &#9989;<sup>2</sup> | &#9989;<sup>2</sup> |
| [TMDb](chart/tmdb) | `tmdb` | TMDb Popular, TMDb Airing Today | &#9989; | &#9989; | | [TMDb](chart/tmdb) | `tmdb` | TMDb Popular, TMDb Airing Today | &#9989; | &#9989; |
| [Trakt](chart/trakt) | `trakt` | Trakt Popular, Trakt Trending | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | | [Trakt](chart/trakt) | `trakt` | Trakt Popular, Trakt Trending | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> |
<sup>1</sup> Requires [Trakt Authentication](../config/trakt)
<sup>1</sup> Requires [Trakt Authentication](../config/trakt)
<sup>2</sup> Requires [Tautulli Authentication](../config/tautulli) <sup>2</sup> Requires [Tautulli Authentication](../config/tautulli)
### General Collections ### General Collections

@ -11,7 +11,7 @@ These overlays are applied by calling the below paths into the `overlay_path` [s
### Overlay Files ### Overlay Files
| Default | path | Example Overlays | Movies | Shows | Seasons | Episodes | | Default | path | Example Overlays | Movies | Shows | Seasons | Episodes |
|:-----------------------------------------------|:-----------------|:--------------------------------------------------------------------------|:--------------------:|:--------------------:|:-------------------:|:--------------------:| |:-----------------------------------------------|:-----------------|:--------------------------------------------------------------------------|:-------------------:|:-------------------:|:-------------------:|:-------------------:|
| [Audio Codec](overlays/audio_codec) | `audio_codec` | Dolby Atmos logo, DTS logo | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | | [Audio Codec](overlays/audio_codec) | `audio_codec` | Dolby Atmos logo, DTS logo | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> |
| [CommonSense Age Rating](overlays/commonsense) | `commonsense` | "3+", "16+" | &#9989; | &#9989; | &#10071; | &#10071; | | [CommonSense Age Rating](overlays/commonsense) | `commonsense` | "3+", "16+" | &#9989; | &#9989; | &#10071; | &#10071; |
| [Direct Play](overlays/direct_play) | `direct_play` | "Direct Play Only" | &#9989; | &#10071; | &#10071; | &#9989; | | [Direct Play](overlays/direct_play) | `direct_play` | "Direct Play Only" | &#9989; | &#10071; | &#10071; | &#9989; |
@ -27,7 +27,8 @@ These overlays are applied by calling the below paths into the `overlay_path` [s
| [Status](overlays/status) | `status` | Airing, Returning, Canceled, Ended | &#10060; | &#9989; | &#10060; | &#10060; | | [Status](overlays/status) | `status` | Airing, Returning, Canceled, Ended | &#10060; | &#9989; | &#10060; | &#10060; |
| [Streaming](overlays/streaming) | `streaming` | Netflix logo, Hulu logo | &#9989; | &#9989; | &#10060; | &#10060; | | [Streaming](overlays/streaming) | `streaming` | Netflix logo, Hulu logo | &#9989; | &#9989; | &#10060; | &#10060; |
| [Versions](overlays/versions) | `versions` | Multiple Versions logo | &#9989; | &#9989; | &#9989; | &#9989; | | [Versions](overlays/versions) | `versions` | Multiple Versions logo | &#9989; | &#9989; | &#9989; | &#9989; |
| [Video Format](overlays/video_format) | `video_format` | "REMUX", "HDTV" | &#9989;<sup>1</sup> | &#10071; | &#10071 | &#9989;<sup>1</sup> | | [Video Format](overlays/video_format) | `video_format` | "REMUX", "HDTV" | &#9989;<sup>1</sup> | &#10071; | &#10071; | &#9989;<sup>1</sup> |
<sup>1</sup> Designed for [TRaSH Guides](https://trash-guides.info/) filename naming scheme <sup>1</sup> Designed for [TRaSH Guides](https://trash-guides.info/) filename naming scheme
<sup>2</sup> Requires Plex Pass or [TRaSH Guides](https://trash-guides.info/) filename naming scheme <sup>2</sup> Requires Plex Pass or [TRaSH Guides](https://trash-guides.info/) filename naming scheme
<sup>3</sup> Requires Template Variables to function <sup>3</sup> Requires Template Variables to function

@ -10,7 +10,7 @@ try:
from plexapi import server from plexapi import server
from plexapi.exceptions import NotFound from plexapi.exceptions import NotFound
from plexapi.video import Show, Season from plexapi.video import Show, Season
except ModuleNotFoundError: except (ModuleNotFoundError, ImportError):
print("Requirements Error: Requirements are not installed") print("Requirements Error: Requirements are not installed")
sys.exit(0) sys.exit(0)

Loading…
Cancel
Save