diff --git a/subwave_nowplaying.star b/subwave_nowplaying.star index 9fb94ef..ed44312 100644 --- a/subwave_nowplaying.star +++ b/subwave_nowplaying.star @@ -188,16 +188,11 @@ def main(config): # (i.e. on a long-lived server -- see its own comment below for why a # one-shot `pixlet render` CLI call always sees elapsed=0). On a local # render this will always show the "starting" static, never "ending". - # TEMP DEV OVERRIDE: forces the glitch on for the entire track instead - # of just the start/end windows, to make it easier to see while - # tuning it. Remove this line (and uncomment the real condition below) - # before shipping. - show_static = static_overlay_enabled - # show_static = ( - # static_overlay_enabled and - # progress != None and - # (progress["elapsed"] < STATIC_OVERLAY_START_SECONDS or progress["remaining"] < STATIC_OVERLAY_END_SECONDS) - # ) + show_static = ( + static_overlay_enabled and + progress != None and + (progress["elapsed"] < STATIC_OVERLAY_START_SECONDS or progress["remaining"] < STATIC_OVERLAY_END_SECONDS) + ) # The show/host and time/temp rows always render, even when empty, so # they hold a fixed vertical position regardless of which fields a given