From dc250a93e14799a85cd79dc03a12b6c0ba544b1b Mon Sep 17 00:00:00 2001 From: InsertDisc <31751462+InsertDisc@users.noreply.github.com> Date: Tue, 13 Feb 2024 17:06:16 -0500 Subject: [PATCH] Added new extra overlay options in generated settings file. --- pattrmm.py | 51 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 45 insertions(+), 6 deletions(-) diff --git a/pattrmm.py b/pattrmm.py index f1ef5e1..6bc498e 100644 --- a/pattrmm.py +++ b/pattrmm.py @@ -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 @@ -116,6 +117,15 @@ 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" @@ -123,33 +133,54 @@ def log_setup(): 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.") @@ -1695,8 +1726,8 @@ def get_missing_episodes_count(self, series_id): group: <> weight: <> back_color: <> - back_width: 1000 - back_height: 90 + back_width: <> + back_height: <> default: horizontal_align: center @@ -1704,6 +1735,8 @@ def get_missing_episodes_count(self, series_id): horizontal_offset: 0 vertical_offset: 0 group: banner_backdrop + back_width: 1000 + back_height: 90 # {library} STATUS {library}_Status: @@ -1721,6 +1754,9 @@ def get_missing_episodes_count(self, series_id): group: <> weight: <> back_color: <> + back_width: <> + back_height: <> + back_align: <> default: horizontal_align: center @@ -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()