From 7464244dfa7b955917f5a1cb9e5a7cd7b7a736e2 Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Mon, 21 Jul 2025 14:39:52 -0500 Subject: [PATCH] odds ticker display changes --- config/config.json | 2 +- src/odds_ticker_manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.json b/config/config.json index e30d0508..35466d84 100644 --- a/config/config.json +++ b/config/config.json @@ -110,7 +110,7 @@ "odds_ticker": { "enabled": true, "show_favorite_teams_only": true, - "enabled_leagues": ["mlb"], + "enabled_leagues": ["mlb", "nfl", "ncaa_fb"], "update_interval": 3600, "scroll_speed": 1, "scroll_delay": 0.01 diff --git a/src/odds_ticker_manager.py b/src/odds_ticker_manager.py index f99f7137..ec290ce5 100644 --- a/src/odds_ticker_manager.py +++ b/src/odds_ticker_manager.py @@ -564,7 +564,7 @@ class OddsTickerManager: if self.ticker_image and self.scroll_speed > 0 and self.scroll_delay > 0: # Duration for the ticker to scroll its full width self.dynamic_display_duration = (self.ticker_image.width / self.scroll_speed) * self.scroll_delay - logger.info(f"Calculated dynamic display duration: {self.dynamic_display_duration:.2f} seconds for a width of {self.ticker_image.width}px") + logger.info(f"[OddsTickerManager] Calculated dynamic display duration: {self.dynamic_display_duration:.2f} seconds for a width of {self.ticker_image.width}px, scroll_speed={self.scroll_speed}, scroll_delay={self.scroll_delay}") else: # Fallback to the configured duration if something is wrong self.dynamic_display_duration = self.display_duration