Commit Graph

  • 8a582fb7aa Add detailed logging for recent games list management ChuckBuilds 2025-04-18 14:49:35 -05:00
  • daf09c1b16 Fix recent games cycling to ensure proper game switching ChuckBuilds 2025-04-18 14:46:07 -05:00
  • d1fa9c4f92 Fetch NHL data from multiple days to ensure we catch all recent games ChuckBuilds 2025-04-18 14:43:50 -05:00
  • 948356b694 Add detailed logging for game time window calculations ChuckBuilds 2025-04-18 14:42:38 -05:00
  • 3f2052b36c Add detailed logging for recent games processing ChuckBuilds 2025-04-18 14:41:13 -05:00
  • 3a78a12e69 Move recent_hours parameter to BaseNHLManager for consistent access ChuckBuilds 2025-04-18 14:38:55 -05:00
  • d3b4c9e55f Disable test mode in NHL managers to use real game data ChuckBuilds 2025-04-18 14:35:36 -05:00
  • 1a9aa8ca9f add functionality for Live Game Priority ChuckBuilds 2025-04-18 14:33:28 -05:00
  • 609a04882a Fix game rotation to show each game for 20 seconds before switching ChuckBuilds 2025-04-18 14:21:15 -05:00
  • bb63e288b8 Fix NHL recent games rotation to properly show all team games ChuckBuilds 2025-04-18 14:15:25 -05:00
  • 6794ee9962 Fix NHL upcoming games rotation to properly handle teams with no games ChuckBuilds 2025-04-18 14:11:36 -05:00
  • a50eb41282 Fix NoneType error by adding proper checks for current_game ChuckBuilds 2025-04-18 14:07:59 -05:00
  • 5939039cd0 Modify game rotation to show all games for one team before switching to the other team ChuckBuilds 2025-04-18 13:52:19 -05:00
  • 00fe279875 Add debug logging to show all games received from ESPN API ChuckBuilds 2025-04-18 13:43:25 -05:00
  • 9ec0c30875 Update favorite teams list to use TB instead of TBL for Tampa Bay Lightning ChuckBuilds 2025-04-18 13:41:27 -05:00
  • 127442863a disable hardware pulsing true ChuckBuilds 2025-04-18 13:40:01 -05:00
  • 6e533047f0 Update test mode to use TB instead of TBL for Tampa Bay Lightning ChuckBuilds 2025-04-18 13:37:21 -05:00
  • 8ea44e6293 update NHL team abbreviation on logos ChuckBuilds 2025-04-18 13:35:49 -05:00
  • 125e4f3b64 Remove team abbreviation mapping and debug logging, use direct ESPN abbreviations ChuckBuilds 2025-04-18 13:35:23 -05:00
  • 8c1b957d86 Add temporary debug logging to print raw team data from ESPN API ChuckBuilds 2025-04-18 13:31:57 -05:00
  • 92107b35aa Implement game rotation for favorite teams in recent and upcoming displays ChuckBuilds 2025-04-18 13:28:24 -05:00
  • 2303f8487f Update period display to show '1st', '2nd', '3rd', or 'OT' instead of 'P:1', etc. ChuckBuilds 2025-04-18 13:26:54 -05:00
  • d3cc087fef Shift team logos in by 3 pixels for better positioning ChuckBuilds 2025-04-18 13:25:21 -05:00
  • ce790b64c0 Change recent game display to show 'Final' instead of period and time ChuckBuilds 2025-04-18 13:24:34 -05:00
  • 14d9205cd2 Update upcoming game text to 'Next Game' and change date format to numerical (e.g. 4/19) ChuckBuilds 2025-04-18 13:20:34 -05:00
  • 589bb97367 Improve recent games data fetching to look back multiple days ChuckBuilds 2025-04-18 13:19:14 -05:00
  • 1210e16c44 Make NHL Recent manager use real data while keeping test mode for live games ChuckBuilds 2025-04-18 13:17:59 -05:00
  • 6d2314d9f3 Remove leading zero from upcoming game time display ChuckBuilds 2025-04-18 13:16:00 -05:00
  • aff5ceef31 Remove NHL-specific logging from display controller ChuckBuilds 2025-04-18 13:15:11 -05:00
  • 99626a175c Remove test data from NHLRecentManager and NHLUpcomingManager to ensure real data usage ChuckBuilds 2025-04-18 13:12:20 -05:00
  • c17b3a67c2 Move team logos further apart and extend beyond screen edges ChuckBuilds 2025-04-18 13:08:13 -05:00
  • c05c4fded5 Increase logo size to 150% of display dimensions for dramatic effect ChuckBuilds 2025-04-18 12:55:57 -05:00
  • 4df89ef9a7 Remove glow effects and reduce logging in NHL display methods ChuckBuilds 2025-04-18 12:52:06 -05:00
  • f2bc56b69c Remove color backgrounds and reduce logging spam in NHL scorebug layout ChuckBuilds 2025-04-18 12:50:20 -05:00
  • 1de254c4e3 Increase logo size and fix debug image path ChuckBuilds 2025-04-18 12:48:12 -05:00
  • 6aeb839ace Fixed NHL manager display inheritance: removed duplicate display code and properly call base class display method ChuckBuilds 2025-04-18 12:45:57 -05:00
  • d8f221cb56 Added debug logging to track NHL display execution path and manager selection ChuckBuilds 2025-04-18 12:44:06 -05:00
  • 19e2afa38a Improved NHL scoreboard layout: Added proper spacing, bounds checking, and repositioned elements to prevent overlap ChuckBuilds 2025-04-18 12:41:38 -05:00
  • 4151e35fc9 Enhanced logo visibility: positioned logos at opposite ends, increased glow effects and color tinting ChuckBuilds 2025-04-18 12:37:55 -05:00
  • 9dbfb230a1 Add glow effects and stronger color tinting to make both logos more visible ChuckBuilds 2025-04-18 12:35:59 -05:00
  • ec350cd091 Improve logo rendering with separate layers and color tinting for better visibility ChuckBuilds 2025-04-18 12:34:24 -05:00
  • f42850372b Fix logo display in scorebug layout to show both home and away team logos ChuckBuilds 2025-04-18 12:31:01 -05:00
  • e4af5c6c45 refactor: Reduce logo loading logging verbosity - Change routine logo loading messages from INFO to DEBUG level - Keep INFO level only for important events like test logo creation ChuckBuilds 2025-04-18 12:29:18 -05:00
  • c8e6d5a201 fix: Adjust NHL team logo positions to prevent overlapping - Move home team logo to right side (3/4 width) - Keep away team logo on left side (1/4 width) - Fixes issue with logos being displayed in the same position ChuckBuilds 2025-04-18 12:26:55 -05:00
  • 75a17c7465 Add detailed debugging for NHL logo display - Add comprehensive logging for logo loading and compositing - Make debug overlays fully opaque - Add logging for image sizes and positions - Add clear start/end markers for layout process ChuckBuilds 2025-04-18 12:23:33 -05:00
  • 32b357d5d5 Add debug features and reduce logging in NHL manager - Add colored overlays for logo debugging - Save debug layout image for visual inspection - Remove excessive logging messages - Upgrade warnings to errors for missing logos ChuckBuilds 2025-04-18 12:15:45 -05:00
  • 8323472e63 Improve NHL logo display and add detailed logging - Use RGBA mode with transparent overlays for logo compositing - Add comprehensive logging for logo loading and display process - Fix image compositing to properly display both logos ChuckBuilds 2025-04-18 11:41:21 -05:00
  • 6f4a735bee Fix NHL logo display by using separate images and alpha compositing - Create separate images for each logo - Use alpha_composite to properly combine images - Preserve transparency during image combination ChuckBuilds 2025-04-18 11:35:55 -05:00
  • 595b0792cd Reduce NHL logging noise and optimize logo loading - Change logging level to INFO - Remove redundant debug messages - Keep only essential logging for important events ChuckBuilds 2025-04-18 11:35:25 -05:00
  • 69b5628864 Add detailed debug logging for NHL logo loading and display process - Set logging level to DEBUG - Add logging for logo directory and file paths - Add logging for image mode conversion - Add logging for logo pasting positions ChuckBuilds 2025-04-18 11:33:40 -05:00
  • be217a9cd8 Add detailed debug logging for NHL logo loading and display - Track logo loading process for both teams - Log logo sizes and positions - Add warnings for missing logos ChuckBuilds 2025-04-18 11:32:14 -05:00
  • 0f36242361 Fix team logo display in NHL managers - Simplify logo pasting process - Remove temporary images - Use direct logo pasting with alpha channel mask ChuckBuilds 2025-04-18 11:30:35 -05:00
  • 7487d5f0d3 Fix team logo display in all NHL managers - Create separate temporary images for each team logo - Fix logo overwriting issue in scorebug layout - Ensure both home and away logos are visible ChuckBuilds 2025-04-18 11:29:03 -05:00
  • ad8d4762ba rename Tampa Bay team acronym ChuckBuilds 2025-04-18 11:27:32 -05:00
  • 2e68a468bd Add test logo generation for NHL teams - Create simple colored rectangles with team abbreviations - Blue for Tampa Bay, Red for Dallas - Generate logos automatically if missing ChuckBuilds 2025-04-18 11:27:13 -05:00
  • 43051ae34d Enable test mode for NHL managers - Force test mode to be enabled in BaseNHLManager - Allow testing of live, recent, and upcoming game displays ChuckBuilds 2025-04-18 11:22:52 -05:00
  • c98469e590 Reduce NHL update frequency when no games available - Add longer intervals for no-data states - Live: 5min, Recent/Upcoming: 15min - Keep normal intervals when games are available ChuckBuilds 2025-04-18 11:22:22 -05:00
  • 96b6ef3b34 Reduce NHL warning message spam - Add 5-minute cooldown for 'No game data available' warnings - Use instance variable for warning time tracking - Improve warning message logging logic ChuckBuilds 2025-04-18 11:20:57 -05:00
  • 6914f068a1 Fix NHL display modes not being cycled through - Add NHL display modes to available_modes list in DisplayController initialization ChuckBuilds 2025-04-18 11:20:17 -05:00
  • a14f5277b8 Reduce NHL warning spam with improved logging - Add class-level warning tracking variables - Implement warning cooldown to limit frequency - Share warning state across all NHL manager instances ChuckBuilds 2025-04-18 11:19:01 -05:00
  • 8557e9acb6 Reduce terminal spam in NHL managers - Add no_data_warning_logged flag to track when warnings have been logged - Only log warnings once when no game data is available - Reset warning flag when game data becomes available ChuckBuilds 2025-04-18 11:17:22 -05:00
  • aa15ef1fc1 Fix logo file validation in NHL managers - Use os.path.isfile instead of is_file() on string paths ChuckBuilds 2025-04-18 11:15:19 -05:00
  • d43371f069 Fix test mode in NHL managers - Fix logo path construction in test game data - Add game_time and game_date to test game data ChuckBuilds 2025-04-18 11:14:26 -05:00
  • 8d5676f626 Fix game time and date extraction in NHL managers - Initialize game_time and game_date variables - Format time and date from UTC to local time ChuckBuilds 2025-04-18 11:11:52 -05:00
  • 6bde48f0f7 Fix logo path construction in NHL managers - Use os.path.join instead of Path operator for logo paths - Add game_time and game_date to extracted game details ChuckBuilds 2025-04-18 11:11:05 -05:00
  • 95ea58e03e Fix font loading in NHL managers - Use available 4x6-font.ttf as primary font - Add PressStart2P-Regular.ttf as fallback - Improve font loading error handling with detailed logging ChuckBuilds 2025-04-18 11:10:09 -05:00
  • 2b6cbcbbc8 Fix missing DisplayManager import in NHL managers ChuckBuilds 2025-04-18 11:08:45 -05:00
  • 3fdaf5be65 Implement NHL game state managers - Add BaseNHLManager with common functionality - Create NHLLiveManager for live games with 30s updates - Add NHLRecentManager for completed games with 5min updates - Implement NHLUpcomingManager for future games with 5min updates - Add logo caching to reduce redundant loading - Improve display layouts for each game state - Add detailed logging for debugging ChuckBuilds 2025-04-18 11:08:04 -05:00
  • d5edc2c07f Improve NHL logo rendering and logging - Add logo caching to prevent redundant loading - Change logo-related logging to DEBUG level - Reduce update intervals for non-live games - Add proper RGB/RGBA image handling - Improve error handling and logging format - Set dedicated NHL logger with appropriate level ChuckBuilds 2025-04-18 11:06:00 -05:00
  • 2c8bae462b improvements to draw both team logos ChuckBuilds 2025-04-18 11:02:38 -05:00
  • 1c97087cf4 Add individual NHL display mode control - Add display_modes section to NHL config - Add granular control over nhl_live, nhl_recent, and nhl_upcoming - Update DisplayController to respect individual mode settings ChuckBuilds 2025-04-18 11:02:01 -05:00
  • fd2b40a35b turned off other displays to speed up testing of NHL ChuckBuilds 2025-04-18 10:58:43 -05:00
  • 1911a89271 Fix logo pasting in NHLRecentManager and NHLUpcomingManager - Replace temp_draw.im.paste with temp_img.paste - Replace draw.im.paste with img.paste - Use correct image pasting method for alpha channel handling ChuckBuilds 2025-04-18 10:57:43 -05:00
  • 147643edc5 Fix NHL display method to use correct DisplayManager API - Replace display_image with image.paste and update_display - Update all NHL manager classes to use proper display methods ChuckBuilds 2025-04-18 10:53:47 -05:00
  • f84cb4ce89 Fix NHL logo pasting in NHLLiveManager - Remove incorrect use of temp_draw.im.paste() - Use proper Image.paste() method for logo compositing - Fix alpha channel handling in logo pasting ChuckBuilds 2025-04-18 10:50:39 -05:00
  • f6a771c5a4 Implement NHL managers with proper display handling - Add BaseNHLManager with common functionality - Add NHLLiveManager for live games (30s updates) - Add NHLRecentManager for recent games (1h updates) - Add NHLUpcomingManager for upcoming games (1h updates) - Fix display dimensions handling from config - Add proper error handling and logging - Support test mode and favorite teams filtering ChuckBuilds 2025-04-18 10:47:13 -05:00
  • 8aff638fd3 Implement NHL managers with ESPN API integration - Add BaseNHLManager with common functionality - Add NHLLiveManager for live games with 30s updates - Add NHLRecentManager for recent games with 1h updates - Add NHLUpcomingManager for upcoming games with 1h updates - Add proper test mode support - Add favorite teams filtering - Add comprehensive error handling and logging - Fix logo rendering with alpha channel support ChuckBuilds 2025-04-18 10:43:13 -05:00
  • ddeb4911c1 Refactor NHL scoreboard into separate managers - Create BaseNHLManager for common functionality - Implement NHLLiveManager for live games - Implement NHLRecentManager for recent games - Implement NHLUpcomingManager for upcoming games - Add proper error handling and logging - Fix logo rendering with proper alpha channel handling ChuckBuilds 2025-04-18 10:40:02 -05:00
  • 1966e9dd4b rework NHL to call displays individually ChuckBuilds 2025-04-18 10:33:19 -05:00
  • 77242c139b Update NHL configuration for new manager structure - Add separate display durations for live/recent/upcoming games - Add specific update intervals for each manager type - Add recent_game_hours setting - Add logo_dir configuration - Remove old update interval settings ChuckBuilds 2025-04-18 10:33:00 -05:00
  • 8cd7851f42 Fix NHL logo rendering in scorebug layout - Add proper RGBA mode conversion - Implement correct transparency handling with temporary RGB images - Add detailed logging for logo loading - Fix status text field name - Add fallback text rendering ChuckBuilds 2025-04-18 10:28:43 -05:00
  • 084e283c04 Fix NHL logo transparency handling - Use logo as mask when pasting to properly handle transparency - Match the approach used in weather icons ChuckBuilds 2025-04-18 10:26:09 -05:00
  • dea69febd8 Simplify NHL logo rendering to match weather icon approach - Remove RGBA conversion and handling - Remove temporary image compositing - Use direct PNG loading and pasting ChuckBuilds 2025-04-18 10:15:14 -05:00
  • 8850387564 Simplify NHL logo rendering to match weather/stock icon approach - Use direct RGBA mode for logo loading and rendering - Simplify image resizing with thumbnail method - Improve error handling and logging - Use relative positioning for better layout ChuckBuilds 2025-04-18 10:11:22 -05:00
  • c5e99bb9a3 Fix NHL logo rendering by properly handling image modes - Convert RGBA logos to RGB before pasting to avoid alpha channel errors - Simplify logo rendering process while maintaining aspect ratio - Remove unnecessary alpha channel masking that was causing errors ChuckBuilds 2025-04-18 10:07:09 -05:00
  • 747f68e567 Fix NHL logo rendering with proper RGB/RGBA handling - Create separate RGB images for logos and background - Use alpha channel as mask when converting from RGBA to RGB - Ensure all image operations use compatible modes ChuckBuilds 2025-04-18 10:02:25 -05:00
  • bdd29b3fe0 Fix NHL logo rendering alpha channel issues - Convert RGBA images to RGB before pasting to avoid alpha channel errors - Remove unnecessary mask parameter from paste operations ChuckBuilds 2025-04-18 09:58:27 -05:00
  • 285e6f6524 Improve NHL logo rendering and add detailed logging - Add proper aspect ratio preservation when resizing logos - Improve alpha channel handling with temporary RGBA image compositing - Add detailed logging for logo loading and validation - Add image format and size validation - Fix logo size calculations to maintain aspect ratio - Add debug logging for successful logo rendering ChuckBuilds 2025-04-18 09:44:14 -05:00
  • 3b2c46de7e Update stock_manager.py Chuck 2025-04-17 21:55:35 -05:00
  • 8c4619069c Update weather_manager.py Chuck 2025-04-17 21:54:26 -05:00
  • d8e7cf0e06 Update nhl_scoreboard.py Chuck 2025-04-17 21:52:44 -05:00
  • 8d956f81da Update stock_manager.py Chuck 2025-04-17 21:48:12 -05:00
  • 720c44106d Update stock_news_manager.py Chuck 2025-04-17 21:41:26 -05:00
  • e6d400281c Update weather_icons.py Chuck 2025-04-17 21:36:09 -05:00
  • 0fa933c596 feat: Add local ticker icons support with external fallback - Add support for local ticker icons from assets/stocks/ticker_icons - Maintain existing external icon fetching as fallback - Improve icon loading with better error handling - Add text-based fallback for missing icons - Update image resizing to use newer PIL API ChuckBuilds 2025-04-17 19:45:05 -05:00
  • 29b4085370 adjusted icons up one pixel ChuckBuilds 2025-04-17 19:41:09 -05:00
  • 33dec47bb8 fine weather forecast icon height hourly and daily ChuckBuilds 2025-04-17 19:34:58 -05:00
  • fda52076c1 remove clamp max height, assign icon middle of matrix ChuckBuilds 2025-04-17 19:33:03 -05:00
  • 0802355c97 remove clamp max height, assign icon middle of matrix ChuckBuilds 2025-04-17 19:31:23 -05:00
  • 38af8c7b38 align time with AMPM ChuckBuilds 2025-04-17 19:25:46 -05:00