From a06cdec6213b41b504c3037f08f8601b6f0b2a8e Mon Sep 17 00:00:00 2001 From: jim kolpack Date: Fri, 9 Oct 2026 20:39:58 -0400 Subject: [PATCH] Revert TEMP DEV OVERRIDE -- glitch back to start/end windows only Restores the real show_static condition (gated on elapsed/remaining track time) instead of forcing the glitch on for the whole track, which was only ever meant to make tuning easier during the glitch effect work. --- subwave_nowplaying.star | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) 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