From 1460f10a9a1436bc70d0dc87e6dc71ce73a05b65 Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Sun, 25 May 2025 17:55:13 -0500 Subject: [PATCH] disable stocks to reduce terminal clutter --- config/config.json | 4 ++-- src/music_manager.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/config.json b/config/config.json index 5715f2fd..52e6708e 100644 --- a/config/config.json +++ b/config/config.json @@ -74,7 +74,7 @@ "display_format": "{temp}°F\n{condition}" }, "stocks": { - "enabled": true, + "enabled": false, "update_interval": 300, "symbols": [ "ASTS", "SCHD", "INTC", "NVDA", "T", "VOO", "SPEST", "SMCI" @@ -82,7 +82,7 @@ "display_format": "{symbol}: ${price} ({change}%)" }, "crypto": { - "enabled": true, + "enabled": false, "update_interval": 300, "symbols": [ "BTC-USD", "ETH-USD" diff --git a/src/music_manager.py b/src/music_manager.py index 300f0fa6..f2904aad 100644 --- a/src/music_manager.py +++ b/src/music_manager.py @@ -459,9 +459,12 @@ class MusicManager: self.display_manager.clear() logger.debug("[MusicManager.display] Display cleared (not force_clear path).") + logger.debug(f"[MusicManager.display] Font for 'Nothing Playing': {self.display_manager.regular_font}, Type: {type(self.display_manager.regular_font)}") text_width = self.display_manager.get_text_width("Nothing Playing", self.display_manager.regular_font) + logger.debug(f"[MusicManager.display] Calculated text_width for 'Nothing Playing': {text_width}") x_pos = (self.display_manager.matrix.width - text_width) // 2 y_pos = (self.display_manager.matrix.height // 2) - 4 + logger.debug(f"[MusicManager.display] Drawing 'Nothing Playing' at x={x_pos}, y={y_pos}") self.display_manager.draw_text("Nothing Playing", x=x_pos, y=y_pos, font=self.display_manager.regular_font) self.display_manager.update_display() logger.debug("[MusicManager.display] 'Nothing Playing' text drawn and display updated.")