Commit Graph

344 Commits

Author SHA1 Message Date
ChuckBuilds
92107b35aa Implement game rotation for favorite teams in recent and upcoming displays 2025-04-18 13:28:24 -05:00
ChuckBuilds
2303f8487f Update period display to show '1st', '2nd', '3rd', or 'OT' instead of 'P:1', etc. 2025-04-18 13:26:54 -05:00
ChuckBuilds
d3cc087fef Shift team logos in by 3 pixels for better positioning 2025-04-18 13:25:21 -05:00
ChuckBuilds
ce790b64c0 Change recent game display to show 'Final' instead of period and time 2025-04-18 13:24:34 -05:00
ChuckBuilds
14d9205cd2 Update upcoming game text to 'Next Game' and change date format to numerical (e.g. 4/19) 2025-04-18 13:20:34 -05:00
ChuckBuilds
589bb97367 Improve recent games data fetching to look back multiple days 2025-04-18 13:19:14 -05:00
ChuckBuilds
1210e16c44 Make NHL Recent manager use real data while keeping test mode for live games 2025-04-18 13:17:59 -05:00
ChuckBuilds
6d2314d9f3 Remove leading zero from upcoming game time display 2025-04-18 13:16:00 -05:00
ChuckBuilds
aff5ceef31 Remove NHL-specific logging from display controller 2025-04-18 13:15:11 -05:00
ChuckBuilds
99626a175c Remove test data from NHLRecentManager and NHLUpcomingManager to ensure real data usage 2025-04-18 13:12:20 -05:00
ChuckBuilds
c17b3a67c2 Move team logos further apart and extend beyond screen edges 2025-04-18 13:08:13 -05:00
ChuckBuilds
c05c4fded5 Increase logo size to 150% of display dimensions for dramatic effect 2025-04-18 12:55:57 -05:00
ChuckBuilds
4df89ef9a7 Remove glow effects and reduce logging in NHL display methods 2025-04-18 12:52:06 -05:00
ChuckBuilds
f2bc56b69c Remove color backgrounds and reduce logging spam in NHL scorebug layout 2025-04-18 12:50:20 -05:00
ChuckBuilds
1de254c4e3 Increase logo size and fix debug image path 2025-04-18 12:48:12 -05:00
ChuckBuilds
6aeb839ace Fixed NHL manager display inheritance: removed duplicate display code and properly call base class display method 2025-04-18 12:45:57 -05:00
ChuckBuilds
d8f221cb56 Added debug logging to track NHL display execution path and manager selection 2025-04-18 12:44:06 -05:00
ChuckBuilds
19e2afa38a Improved NHL scoreboard layout: Added proper spacing, bounds checking, and repositioned elements to prevent overlap 2025-04-18 12:41:38 -05:00
ChuckBuilds
4151e35fc9 Enhanced logo visibility: positioned logos at opposite ends, increased glow effects and color tinting 2025-04-18 12:37:55 -05:00
ChuckBuilds
9dbfb230a1 Add glow effects and stronger color tinting to make both logos more visible 2025-04-18 12:35:59 -05:00
ChuckBuilds
ec350cd091 Improve logo rendering with separate layers and color tinting for better visibility 2025-04-18 12:34:24 -05:00
ChuckBuilds
f42850372b Fix logo display in scorebug layout to show both home and away team logos 2025-04-18 12:31:01 -05:00
ChuckBuilds
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 2025-04-18 12:29:18 -05:00
ChuckBuilds
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 2025-04-18 12:26:55 -05:00
ChuckBuilds
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 2025-04-18 12:23:33 -05:00
ChuckBuilds
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 2025-04-18 12:15:45 -05:00
ChuckBuilds
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 2025-04-18 11:41:21 -05:00
ChuckBuilds
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 2025-04-18 11:35:55 -05:00
ChuckBuilds
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 2025-04-18 11:35:25 -05:00
ChuckBuilds
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 2025-04-18 11:33:40 -05:00
ChuckBuilds
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 2025-04-18 11:32:14 -05:00
ChuckBuilds
0f36242361 Fix team logo display in NHL managers - Simplify logo pasting process - Remove temporary images - Use direct logo pasting with alpha channel mask 2025-04-18 11:30:35 -05:00
ChuckBuilds
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 2025-04-18 11:29:03 -05:00
ChuckBuilds
ad8d4762ba rename Tampa Bay team acronym 2025-04-18 11:27:32 -05:00
ChuckBuilds
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 2025-04-18 11:27:13 -05:00
ChuckBuilds
43051ae34d Enable test mode for NHL managers - Force test mode to be enabled in BaseNHLManager - Allow testing of live, recent, and upcoming game displays 2025-04-18 11:22:52 -05:00
ChuckBuilds
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 2025-04-18 11:22:22 -05:00
ChuckBuilds
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 2025-04-18 11:20:57 -05:00
ChuckBuilds
6914f068a1 Fix NHL display modes not being cycled through - Add NHL display modes to available_modes list in DisplayController initialization 2025-04-18 11:20:17 -05:00
ChuckBuilds
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 2025-04-18 11:19:01 -05:00
ChuckBuilds
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 2025-04-18 11:17:22 -05:00
ChuckBuilds
aa15ef1fc1 Fix logo file validation in NHL managers - Use os.path.isfile instead of is_file() on string paths 2025-04-18 11:15:19 -05:00
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