Skip to content

Commit

Permalink
additional tweaks and overlays (Kometa-Team#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
bullmoose20 authored Sep 20, 2022
1 parent 8746118 commit 3c46ae3
Show file tree
Hide file tree
Showing 10 changed files with 265 additions and 59 deletions.
4 changes: 2 additions & 2 deletions PMM/movie/seasonal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# # Turn the Independence Day collection on/off #
# schedule_independence: range(06/23-07/11) #
# # Turn the Easter collection on/off #
# schedule_easter: range(03/22-04/25) #
# schedule_easter: range(03/15-04/30) #
# # Turn the Valentine's Day collection on/off #
# schedule_valentine: range(02/01-02/29) #
# # Turn the St. Patrick's Day collection on/off #
Expand Down Expand Up @@ -78,7 +78,7 @@ collections:
template:
- name: Holiday
season: easter
schedule_easter: range(03/22-04/25)
schedule_easter: range(03/15-04/30)
- name: shared
imdb_list:
- https://www.imdb.com/list/ls062665509/
Expand Down
35 changes: 28 additions & 7 deletions PMM/overlays/age.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,20 @@
# vertical_offset: 270 #
# # Set the vertical align for the overlay #
# vertical_align: bottom #
# # Set the font for the overlay #
# font: fonts/Inter-Medium.ttf #
# # Set the font size for the overlay #
# font_size: 55 #
# # Set the font color for the overlay #
# font_color: "#FFFFFF" #
# # Set the back color for the overlay #
# back_color: "#00000099" #
# # Set the back radius for the overlay #
# back_radius: 30 #
# # Set the back width for the overlay #
# back_width: 300 #
# # Set the back height for the overlay #
# back_height: 105 #
# #
# # Use the NR overlay #
# use_nr: true #
Expand All @@ -45,6 +59,13 @@ templates:
horizontal_align: left
vertical_offset: 270
vertical_align: bottom
font: fonts/Inter-Medium.ttf
font_size: 55
font_color: "#FFFFFF"
back_color: "#00000099"
back_radius: 30
back_width: 300
back_height: 105
collection_level: <<overlay_level>>
allowed_library_types: <<use_<<slug>>>>
ignore_blank_results: true
Expand All @@ -54,13 +75,13 @@ templates:
horizontal_align: <<horizontal_align>>
vertical_offset: <<vertical_offset>>
vertical_align: <<vertical_align>>
font: fonts/Inter-Medium.ttf
font_size: 55
font_color: "#FFFFFF"
back_color: "#00000099"
back_radius: 30
back_width: 300
back_height: 105
font: <<font>>
font_size: <<font_size>>
font_color: <<font_color>>
back_color: <<back_color>>
back_radius: <<back_radius>>
back_width: <<back_width>>
back_height: <<back_height>>
git: PMM/overlays/images/raw/commonsense
addon_position: left
addon_offset: 15
Expand Down
16 changes: 13 additions & 3 deletions PMM/overlays/audio_codec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,15 @@
# vertical_offset: 15 #
# # Set the vertical align for the overlay #
# vertical_align: top #
# # Set the back color for the overlay #
# back_color: "#00000099" #
# # Set the back radius for the overlay #
# back_radius: 30 #
# # Set the back width for the overlay #
# back_width: 300 #
# # Sets the style of overlay: standard or compact #
# style: compact #
# #
# # Use the Opus overlay #
# use_opus: true #
# # Use the MP3 overlay #
Expand Down Expand Up @@ -71,6 +78,9 @@ templates:
vertical_align: top
style: compact
standard_value: 105
back_color: "#00000099"
back_radius: 30
back_width: 305
conditionals:
height:
default: 105
Expand All @@ -89,9 +99,9 @@ templates:
horizontal_align: <<horizontal_align>>
vertical_offset: <<vertical_offset>>
vertical_align: <<vertical_align>>
back_color: "#00000099"
back_radius: 30
back_width: 305
back_color: <<back_color>>
back_radius: <<back_radius>>
back_width: <<back_width>>
back_height: <<height>>

overlays:
Expand Down
47 changes: 34 additions & 13 deletions PMM/overlays/episode_info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,27 @@
# # Set episode or season to overlay #
# overlay_level: #
# # Set the horizontal offset for the overlay #
# horizontal_offset: 0 #
# horizontal_offset: 15 #
# # Set the horizontal align for the overlay #
# horizontal_align: center #
# horizontal_align: right #
# # Set the vertical offset for the overlay #
# vertical_offset: 30 #
# vertical_offset: 150 #
# # Set the vertical align for the overlay #
# vertical_align: bottom #
# # Set the font for the overlay #
# font: fonts/Inter-Medium.ttf #
# # Set the font size for the overlay #
# font_size: 55 #
# # Set the font color for the overlay #
# font_color: "#FFFFFF" #
# # Set the back color for the overlay #
# back_color: "#00000099" #
# # Set the back radius for the overlay #
# back_radius: 30 #
# # Set the back width for the overlay #
# back_width: 300 #
# # Set the back height for the overlay #
# back_height: 105 #
#############################################################

templates:
Expand All @@ -25,24 +39,31 @@ templates:
- overlay_level
default:
overlay: <<overlay_name>>
horizontal_offset: 0
horizontal_align: center
vertical_offset: 30
horizontal_offset: 15
horizontal_align: right
vertical_offset: 150
vertical_align: bottom
font: fonts/Inter-Medium.ttf
font_size: 55
font_color: "#FFFFFF"
back_color: "#00000099"
back_radius: 30
back_width: 300
back_height: 105
collection_level: <<overlay_level>>
overlay:
name: text(S<<season_number0>>E<<episode_number0>>)
horizontal_offset: <<horizontal_offset>>
horizontal_align: <<horizontal_align>>
vertical_offset: <<vertical_offset>>
vertical_align: <<vertical_align>>
font: fonts/Inter-Medium.ttf
font_size: 63
font_color: "#FFFFFF"
back_color: "#00000099"
back_radius: 30
back_width: 300
back_height: 105
font: <<font>>
font_size: <<font_size>>
font_color: <<font_color>>
back_color: <<back_color>>
back_radius: <<back_radius>>
back_width: <<back_width>>
back_height: <<back_height>>

overlays:
episode_info:
Expand Down
20 changes: 16 additions & 4 deletions PMM/overlays/mediastinger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
# vertical_offset: 15 #
# # Set the vertical align for the overlay #
# vertical_align: top #
# # Set the back color for the overlay #
# back_color: "#00000099" #
# # Set the back radius for the overlay #
# back_radius: 30 #
# # Set the back width for the overlay #
# back_width: 105 #
# # Set the back height for the overlay #
# back_height: 105 #
#############################################################

templates:
Expand All @@ -29,18 +37,22 @@ templates:
horizontal_align: right
vertical_offset: 15
vertical_align: top
back_color: "#00000099"
back_radius: 30
back_width: 105
back_height: 105
collection_level: <<overlay_level>>
overlay:
name: <<overlay_name>>
git: PMM/overlays/images/raw/<<overlay>>
back_color: "#00000099"
horizontal_offset: <<horizontal_offset>>
horizontal_align: <<horizontal_align>>
vertical_offset: <<vertical_offset>>
vertical_align: <<vertical_align>>
back_radius: 30
back_width: 105
back_height: 105
back_color: <<back_color>>
back_radius: <<back_radius>>
back_width: <<back_width>>
back_height: <<back_height>>

overlays:
Mediastinger:
Expand Down
35 changes: 28 additions & 7 deletions PMM/overlays/runtimes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@
# vertical_offset: 30 #
# # Set the vertical align for the overlay #
# vertical_align: bottom #
# # Set the font for the overlay #
# font: fonts/Inter-Medium.ttf #
# # Set the font size for the overlay #
# font_size: 55 #
# # Set the font color for the overlay #
# font_color: "#FFFFFF" #
# # Set the back color for the overlay #
# back_color: "#00000099" #
# # Set the back radius for the overlay #
# back_radius: 30 #
# # Set the back width for the overlay #
# back_width: 600 #
# # Set the back height for the overlay #
# back_height: 105 #
#############################################################

templates:
Expand All @@ -29,20 +43,27 @@ templates:
horizontal_align: right
vertical_offset: 30
vertical_align: bottom
font: fonts/Inter-Medium.ttf
font_size: 55
font_color: "#FFFFFF"
back_color: "#00000099"
back_radius: 30
back_width: 600
back_height: 105
collection_level: <<overlay_level>>
overlay:
name: "text(Runtime: <<runtimeH>>h <<runtimeM>>m)"
horizontal_offset: <<horizontal_offset>>
horizontal_align: <<horizontal_align>>
vertical_offset: <<vertical_offset>>
vertical_align: <<vertical_align>>
font: fonts/Inter-Medium.ttf
font_size: 63
font_color: "#FFFFFF"
back_color: "#00000099"
back_radius: 30
back_width: 600
back_height: 105
font: <<font>>
font_size: <<font_size>>
font_color: <<font_color>>
back_color: <<back_color>>
back_radius: <<back_radius>>
back_width: <<back_width>>
back_height: <<back_height>>

overlays:
runtime_info:
Expand Down
20 changes: 16 additions & 4 deletions PMM/overlays/streaming.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
# vertical_offset: 150 #
# # Set the vertical align for the overlay #
# vertical_align: bottom #
# # Set the back color for the overlay #
# back_color: "#00000099" #
# # Set the back radius for the overlay #
# back_radius: 30 #
# # Set the back width for the overlay #
# back_width: 305 #
# # Set the back height for the overlay #
# back_height: 105 #
# #
# # Use the Amazon overlay #
# use_amazon: true #
Expand Down Expand Up @@ -49,6 +57,10 @@ templates:
horizontal_align: left
vertical_offset: 150
vertical_align: bottom
back_color: "#00000099"
back_radius: 30
back_width: 305
back_height: 105
allowed_library_types: <<use_<<slug>>>>
ignore_blank_results: true
overlay:
Expand All @@ -60,10 +72,10 @@ templates:
horizontal_align: <<horizontal_align>>
vertical_offset: <<vertical_offset>>
vertical_align: <<vertical_align>>
back_color: "#00000099"
back_radius: 30
back_width: 305
back_height: 105
back_color: <<back_color>>
back_radius: <<back_radius>>
back_width: <<back_width>>
back_height: <<back_height>>
mdblist_list: https://mdblist.com/lists/plexmetamanager/<<slug>>-<<library_type>>s

overlays:
Expand Down
69 changes: 69 additions & 0 deletions PMM/overlays/versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
#############################################################
# Versions Overlay #
# Created by Yozora, Bullmoose20, & Sohjiro #
# Credit to Magic815 for base images #
#############################################################
# Call this from your config.yml (Movie or Show): #
# overlay_path: #
# - git: PMM/overlays/versions #
# template_variables: #
# # Set episode or season or show to overlay #
# overlay_level: #
# # Set the horizontal offset for the overlay #
# horizontal_offset: 15 #
# # Set the horizontal align for the overlay #
# horizontal_align: right #
# # Set the vertical offset for the overlay #
# vertical_offset: 390 #
# # Set the vertical align for the overlay #
# vertical_align: bottom #
# # Set the back color for the overlay #
# back_color: "#00000099" #
# # Set the back radius for the overlay #
# back_radius: 30 #
# # Set the back width for the overlay #
# back_width: 105 #
# # Set the back height for the overlay #
# back_height: 105 #
#############################################################

templates:
Versions:
conditionals:
version_style:
default: "duplicate"
conditions:
- overlay_level: ['show', 'season', 'episode']
value: "episode_duplicate"
plex_search:
all:
<<version_style>>: true
optional:
- overlay_level
default:
horizontal_offset: 15
horizontal_align: left
vertical_offset: 390
vertical_align: bottom
back_color: "#00000099"
back_radius: 30
back_width: 105
back_height: 105
collection_level: <<overlay_level>>
ignore_blank_results: true
overlay:
name: versions
horizontal_offset: <<horizontal_offset>>
horizontal_align: <<horizontal_align>>
vertical_offset: <<vertical_offset>>
vertical_align: <<vertical_align>>
back_color: <<back_color>>
back_radius: <<back_radius>>
back_width: <<back_width>>
back_height: <<back_height>>
git: PMM/overlays/images/raw/versions

overlays:
Duplicate Versions:
template:
- name: Versions
Loading

0 comments on commit 3c46ae3

Please sign in to comment.