Commit Graph

94 Commits

Author SHA1 Message Date
ChuckBuilds
a91d7f3da6 fix: ensure live NHL game display updates with new data 2025-04-19 21:34:23 -05:00
ChuckBuilds
8216c7cd3b fix: force display updates for live NHL games when new data is received 2025-04-19 21:24:13 -05:00
ChuckBuilds
b25342e4a9 fix: make logger a class attribute in BaseNHLManager for shared data fetching 2025-04-19 21:19:03 -05:00
ChuckBuilds
f733c7c406 fix: improve NHL data fetching and caching - make cache_manager class attribute, reduce live update to 15s, bypass cache for live games 2025-04-19 21:15:46 -05:00
ChuckBuilds
4c3d5f37b5 shorten live game update interval 2025-04-19 21:07:05 -05:00
ChuckBuilds
b25f6905fa refactor: implement shared data fetching for NHL managers to reduce API calls 2025-04-19 21:03:49 -05:00
ChuckBuilds
b1fb9c3018 fix: update CacheManager method calls to use correct method names 2025-04-19 20:57:49 -05:00
ChuckBuilds
07191f638e fix: add cache_manager initialization to BaseNHLManager 2025-04-19 18:35:56 -05:00
ChuckBuilds
471790c851 feat: implement caching for ESPN API responses to reduce API calls 2025-04-19 18:25:01 -05:00
ChuckBuilds
43d9fb8258 refactor: standardize logging configuration across NBA and NHL managers 2025-04-19 17:59:00 -05:00
ChuckBuilds
daf88b6f5d adjusted nhl upcoming date and time spacing slightly further 2025-04-19 13:49:24 -05:00
ChuckBuilds
fdc01c6167 adjusted nhl upcoming date and time spacing slightly closer 2025-04-19 13:46:14 -05:00
ChuckBuilds
6a0ee401c4 adjusted nhl upcoming date and time spacing 2025-04-19 13:42:54 -05:00
ChuckBuilds
ed46f24047 removed extra spacing between scores NHL 2025-04-19 13:29:37 -05:00
ChuckBuilds
8320e16d03 Move date below 'Next Game' for upcoming NHL games 2025-04-19 13:27:58 -05:00
ChuckBuilds
4efa51e54c Stack date and time in center for NHL upcoming games 2025-04-19 12:37:14 -05:00
ChuckBuilds
e7c0d1ab28 changed upcoming game status font 2025-04-19 11:14:08 -05:00
ChuckBuilds
305b5c1c97 Changed NHL score display to use Press Start 2P font as primary font 2025-04-19 09:07:49 -05:00
ChuckBuilds
6c60ac46f2 Implement caching system for NHL managers to reduce API calls: - Add CacheManager class with singleton pattern - Update _fetch_data to use caching - Optimize update intervals in config.json - Reduce API calls by ~48% 2025-04-18 18:29:34 -05:00
ChuckBuilds
cae217c228 Fix NHL recent display to properly rotate games with timing 2025-04-18 15:44:35 -05:00
ChuckBuilds
1f76c12b11 Fix display update method name in NHL managers 2025-04-18 15:39:25 -05:00
ChuckBuilds
c4e30f0dc9 Update NHL managers with clearer logging messages and consistent display handling 2025-04-18 15:33:27 -05:00
ChuckBuilds
94279b97e3 Remove internal rotation logic from NHL managers to let display controller handle it 2025-04-18 15:29:19 -05:00
ChuckBuilds
c845c9fe55 Add detailed logging for recent games filtering in NHLRecentManager 2025-04-18 14:58:13 -05:00
ChuckBuilds
8a582fb7aa Add detailed logging for recent games list management 2025-04-18 14:49:35 -05:00
ChuckBuilds
daf09c1b16 Fix recent games cycling to ensure proper game switching 2025-04-18 14:46:07 -05:00
ChuckBuilds
d1fa9c4f92 Fetch NHL data from multiple days to ensure we catch all recent games 2025-04-18 14:43:50 -05:00
ChuckBuilds
948356b694 Add detailed logging for game time window calculations 2025-04-18 14:42:38 -05:00
ChuckBuilds
3f2052b36c Add detailed logging for recent games processing 2025-04-18 14:41:13 -05:00
ChuckBuilds
3a78a12e69 Move recent_hours parameter to BaseNHLManager for consistent access 2025-04-18 14:38:55 -05:00
ChuckBuilds
d3b4c9e55f Disable test mode in NHL managers to use real game data 2025-04-18 14:35:36 -05:00
ChuckBuilds
1a9aa8ca9f add functionality for Live Game Priority 2025-04-18 14:33:28 -05:00
ChuckBuilds
609a04882a Fix game rotation to show each game for 20 seconds before switching 2025-04-18 14:21:15 -05:00
ChuckBuilds
bb63e288b8 Fix NHL recent games rotation to properly show all team games 2025-04-18 14:15:25 -05:00
ChuckBuilds
6794ee9962 Fix NHL upcoming games rotation to properly handle teams with no games 2025-04-18 14:11:36 -05:00
ChuckBuilds
a50eb41282 Fix NoneType error by adding proper checks for current_game 2025-04-18 14:07:59 -05:00
ChuckBuilds
5939039cd0 Modify game rotation to show all games for one team before switching to the other team 2025-04-18 13:52:19 -05:00
ChuckBuilds
00fe279875 Add debug logging to show all games received from ESPN API 2025-04-18 13:43:25 -05:00
ChuckBuilds
6e533047f0 Update test mode to use TB instead of TBL for Tampa Bay Lightning 2025-04-18 13:37:21 -05:00
ChuckBuilds
125e4f3b64 Remove team abbreviation mapping and debug logging, use direct ESPN abbreviations 2025-04-18 13:35:23 -05:00
ChuckBuilds
8c1b957d86 Add temporary debug logging to print raw team data from ESPN API 2025-04-18 13:31:57 -05:00
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
99626a175c Remove test data from NHLRecentManager and NHLUpcomingManager to ensure real data usage 2025-04-18 13:12:20 -05:00