more ytm tuning, reduce debug logging, remove callback preventing display from rotating

This commit is contained in:
ChuckBuilds
2025-05-25 20:16:42 -05:00
parent ec089cae99
commit 3ac436dc54
2 changed files with 5 additions and 7 deletions

View File

@@ -397,9 +397,7 @@ class DisplayController:
logger.debug("DisplayController received music update (via callback): Track is None or not playing.")
if self.current_display_mode == 'music' and self.music_manager:
logger.info("Music is current display mode and track updated. Signaling immediate refresh and resetting mode timer.")
# Force the main loop to re-evaluate and re-display the current mode.
self.last_switch = time.time() # Reset the timer to ensure this update is shown
logger.info("Music is current display mode and track updated. Signaling immediate refresh.")
self.force_clear = True # Tell the display method to clear before drawing
# If the current display mode is music, the MusicManager's display method will be called
# in the main loop and will use its own updated internal state. No explicit action needed here