Skip to content

Commit

Permalink
Yet another indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
InsertDisc authored Jan 17, 2024
1 parent 9e56429 commit f7b7ac0
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions pattrmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -2357,42 +2357,42 @@ def __init__(self, id, title, first_air_date, last_air_date, next_air_date, stat

# Define the specific parts for Airing Next
overlay_airing_next = f'''
# Airing Next Banner
{library}_Status_Airing_Next_Banner_{next_air_display}:
template:
name: {library}_Status_Banner
weight: {initial_weight - next_air_counter}
group: banner_backdrop
back_color: "{airing_next_color}"
vertical_align: {airing_next_vertical_align}
tmdb_discover:
air_date.gte: {airing_next_formatted}
air_date.lte: {airing_next_formatted}
with_status: 0
limit: 500
filters:
last_episode_aired.after: {considered_airing_formatted}
# Airing Next
{library}_Status_Airing_Next_{next_air_display}:
template:
name: {library}_Status
weight: {initial_weight - next_air_counter}
text: "{airing_next_text} {next_air_display_for_text}"
group: banner_text
color: "{airing_next_font_color}"
horizontal_align: {airing_next_horizontal_align}
vertical_align: {airing_next_vertical_align}
horizontal_offset: {airing_next_horizontal_offset}
vertical_offset: {airing_next_vertical_offset}
tmdb_discover:
air_date.gte: {airing_next_formatted}
air_date.lte: {airing_next_formatted}
with_status: 0
limit: 500
filters:
last_episode_aired.after: {considered_airing_formatted}
'''
# Airing Next Banner
{library}_Status_Airing_Next_Banner_{next_air_display}:
template:
name: {library}_Status_Banner
weight: {initial_weight - next_air_counter}
group: banner_backdrop
back_color: "{airing_next_color}"
vertical_align: {airing_next_vertical_align}
tmdb_discover:
air_date.gte: {airing_next_formatted}
air_date.lte: {airing_next_formatted}
with_status: 0
limit: 500
filters:
last_episode_aired.after: {considered_airing_formatted}
# Airing Next
{library}_Status_Airing_Next_{next_air_display}:
template:
name: {library}_Status
weight: {initial_weight - next_air_counter}
text: "{airing_next_text} {next_air_display_for_text}"
group: banner_text
color: "{airing_next_font_color}"
horizontal_align: {airing_next_horizontal_align}
vertical_align: {airing_next_vertical_align}
horizontal_offset: {airing_next_horizontal_offset}
vertical_offset: {airing_next_vertical_offset}
tmdb_discover:
air_date.gte: {airing_next_formatted}
air_date.lte: {airing_next_formatted}
with_status: 0
limit: 500
filters:
last_episode_aired.after: {considered_airing_formatted}
'''

overlay_body = overlay_body + overlay_airing_next # Append to overlay_body
next_air_counter += 1 # Update the counter for the next iteration
Expand Down

0 comments on commit f7b7ac0

Please sign in to comment.