Commit Graph

15 Commits

Author SHA1 Message Date
ChuckBuilds
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 2025-04-18 11:14:26 -05:00
ChuckBuilds
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 2025-04-18 11:11:52 -05:00
ChuckBuilds
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 2025-04-18 11:11:05 -05:00
ChuckBuilds
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 2025-04-18 11:10:09 -05:00
ChuckBuilds
2b6cbcbbc8 Fix missing DisplayManager import in NHL managers 2025-04-18 11:08:45 -05:00
ChuckBuilds
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 2025-04-18 11:08:04 -05:00
ChuckBuilds
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 2025-04-18 11:06:00 -05:00
ChuckBuilds
2c8bae462b improvements to draw both team logos 2025-04-18 11:02:38 -05:00
ChuckBuilds
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 2025-04-18 10:57:43 -05:00
ChuckBuilds
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 2025-04-18 10:53:47 -05:00
ChuckBuilds
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 2025-04-18 10:50:39 -05:00
ChuckBuilds
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 2025-04-18 10:47:13 -05:00
ChuckBuilds
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 2025-04-18 10:43:13 -05:00
ChuckBuilds
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 2025-04-18 10:40:02 -05:00
ChuckBuilds
1966e9dd4b rework NHL to call displays individually 2025-04-18 10:33:19 -05:00