Skip to content

Commit

Permalink
Added new extra overlay options in generated settings file.
Browse files Browse the repository at this point in the history
  • Loading branch information
InsertDisc authored Feb 13, 2024
1 parent b7ef343 commit dc250a9
Showing 1 changed file with 45 additions and 6 deletions.
51 changes: 45 additions & 6 deletions pattrmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def log_setup():
range: month
trakt_list_privacy: private
save_folder: "collections/"
date_style: 1 # 1 for mm/dd, 2 for dd/mm
overlay_prefix: "RETURNING" # Text to display before the dates.
horizontal_align: center
Expand All @@ -116,40 +117,70 @@ def log_setup():
returning_soon_fontcolor: "#FFFFFF"
extra_overlays:
upcoming:
use: True
bgcolor: "#fc4e03"
font_color: "#FFFFFF"
text: "U P C O M I N G"
horizontal_align: center
vertical_align: top
new:
use: True
bgcolor: "#008001"
font_color: "#FFFFFF"
text: "N E W S E R I E S"
horizontal_align: center
vertical_align: top
upcoming:
new_next_air:
use: True
bgcolor: "#fc4e03"
bgcolor: "#008001"
font_color: "#FFFFFF"
text: "U P C O M I N G"
text: "NEW · AIRING"
horizontal_align: center
vertical_align: top
airing:
use: True
bgcolor: "#343399"
bgcolor: "#006580"
font_color: "#FFFFFF"
text: "A I R I N G"
horizontal_align: center
vertical_align: top
airing_next:
use: True
bgcolor: "#006580"
font_color: "#FFFFFF"
text: "AIRING"
horizontal_align: center
vertical_align: top
returning:
use: True
bgcolor: "#81007F"
font_color: "#FFFFFF"
text: "R E T U R N I N G"
horizontal_align: center
vertical_align: top
ended:
use: True
bgcolor: "#000000"
font_color: "#FFFFFF"
text: "E N D E D"
horizontal_align: center
vertical_align: top
canceled:
use: True
bgcolor: "#CF142B"
font_color: "#FFFFFF"
text: "C A N C E L E D"
horizontal_align: center
vertical_align: top
''')
create_settings_file.close()
print("Settings file created. Please configure preferences/settings.yml and rerun PATTRMM.")
Expand Down Expand Up @@ -1695,15 +1726,17 @@ def get_missing_episodes_count(self, series_id):
group: <<group>>
weight: <<weight>>
back_color: <<back_color>>
back_width: 1000
back_height: 90
back_width: <<back_width>>
back_height: <<back_height>>
default:
horizontal_align: center
vertical_align: top
horizontal_offset: 0
vertical_offset: 0
group: banner_backdrop
back_width: 1000
back_height: 90
# {library} STATUS
{library}_Status:
Expand All @@ -1721,6 +1754,9 @@ def get_missing_episodes_count(self, series_id):
group: <<group>>
weight: <<weight>>
back_color: <<back_color>>
back_width: <<back_width>>
back_height: <<back_height>>
back_align: <<back_align>>
default:
horizontal_align: center
Expand All @@ -1729,6 +1765,9 @@ def get_missing_episodes_count(self, series_id):
vertical_offset: 10
font_size: 70
back_color: "#00000000"
back_align: center
back_height: 90
back_width: 1000
'''
)
create_rs_overlay_template_file.close()
Expand Down

0 comments on commit dc250a9

Please sign in to comment.