Commit Graph

485 Commits

Author SHA1 Message Date
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
77bf8d07fb fix: improve cache directory handling for sudo execution with proper user ownership 2025-04-19 18:32:19 -05:00
ChuckBuilds
d37cfef8f0 fix: improve CacheManager initialization and error handling 2025-04-19 18:31:17 -05:00
ChuckBuilds
93aa0bebf6 chore: remove old cache directory 2025-04-19 18:30:12 -05:00
ChuckBuilds
a9c5529f66 fix: improve cache directory handling for sudo execution 2025-04-19 18:29:40 -05:00
ChuckBuilds
272eaee1e6 refactor: update refresh rates for upcoming and recent games to hourly intervals 2025-04-19 18:26:01 -05:00
ChuckBuilds
471790c851 feat: implement caching for ESPN API responses to reduce API calls 2025-04-19 18:25:01 -05:00
ChuckBuilds
09649f0a07 fix: improve NBA upcoming games detection and reduce log spam 2025-04-19 18:15:36 -05:00
ChuckBuilds
0c307b3f02 fix: add display method to NBAUpcomingManager to properly show upcoming games 2025-04-19 18:09:42 -05:00
ChuckBuilds
686f5cdee6 fix: centralize logging configuration in run.py to ensure consistent timestamps 2025-04-19 18:04:52 -05:00
ChuckBuilds
b221ab8d2a fix: remove duplicate logging configurations to ensure consistent timestamp format 2025-04-19 18:03:06 -05:00
ChuckBuilds
43d9fb8258 refactor: standardize logging configuration across NBA and NHL managers 2025-04-19 17:59:00 -05:00
ChuckBuilds
afcfda7a01 fix: ensure display rotation follows clock -> weather -> stocks -> NHL -> NBA order 2025-04-19 17:57:20 -05:00
ChuckBuilds
2b0a154348 feat: add detailed timestamps to logging for better startup time tracking 2025-04-19 17:53:40 -05:00
ChuckBuilds
0a609910c6 Restore working weather manager from main branch 2025-04-19 17:30:08 -05:00
ChuckBuilds
48909001e8 Add API key validation and improve error handling in weather manager. 2025-04-19 17:27:50 -05:00
ChuckBuilds
508d01323a Reduce weather manager log spam. Change frequent logs to DEBUG level. 2025-04-19 17:25:22 -05:00
ChuckBuilds
ebda8e04a0 Improve weather location handling. Use full location string with city, state, and country for better API results. 2025-04-19 17:17:44 -05:00
ChuckBuilds
d700316f75 Improve weather cache validation and reduce log spam. Add thorough data validation and better error handling. 2025-04-19 17:13:59 -05:00
ChuckBuilds
9a0e87115d Improve weather network error handling. Add retry logic with backoff and better caching fallback. 2025-04-19 17:10:40 -05:00
ChuckBuilds
bf7eeecbe0 Fix weather location configuration. Update WeatherManager to use correct location from config and add validation. 2025-04-19 17:09:05 -05:00
ChuckBuilds
4c5f1e73c5 Improve cache functionality. Add max_age parameter to CacheManager, fix WeatherManager API calls, and enhance error handling. 2025-04-19 17:08:02 -05:00
ChuckBuilds
24d7fd96ec Fix CacheManager usage in NBA managers. Update to use instance methods instead of class methods for proper caching functionality. 2025-04-19 17:07:04 -05:00
ChuckBuilds
b77105eca5 Fix CacheManager import in NBA managers. Add missing import statement to resolve NameError. 2025-04-19 17:01:49 -05:00
ChuckBuilds
b3f824061f Improve cache manager robustness. Fix permission issues with cache directory, add better JSON error handling, and implement atomic file operations. 2025-04-19 17:00:51 -05:00
ChuckBuilds
e4f78b7808 Improve SSL handling in stock managers. Add retry logic with exponential backoff, proper SSL verification, and better error handling for both StockManager and StockNewsManager classes. 2025-04-19 16:59:53 -05:00
ChuckBuilds
2391fdaee0 Fix datetime serialization in cache manager. Add custom JSON encoder to handle datetime objects. 2025-04-19 16:58:45 -05:00
ChuckBuilds
8ee3b1001a Fix cache directory permission issues. Add fallback options for different user contexts and proper permission handling. 2025-04-19 16:57:31 -05:00
ChuckBuilds
a5186d656e Optimize cache and weather managers for better performance. Add thread-safe caching, reduce processing overhead, and improve error handling. 2025-04-19 16:56:09 -05:00
ChuckBuilds
6c7fd0ddb2 turned off nba test mode 2025-04-19 16:52:54 -05:00
Chuck
99ecbbed8e add NFL Team Logos
Add NFL Team Logos for later use
2025-04-19 16:50:21 -05:00
ChuckBuilds
4d6839db56 reduce score size by 2 px NBA 2025-04-19 16:43:48 -05:00
ChuckBuilds
03d679948b arranging score higher for NBA 2025-04-19 14:59:55 -05:00
ChuckBuilds
b5859ff8ef arranging score lower for NBA 2025-04-19 14:58:52 -05:00
ChuckBuilds
c52c3be889 arranging period, time, and score for NBA 2025-04-19 14:54:02 -05:00
ChuckBuilds
727415fd17 Improve error handling in NBA managers with consistent empty state handling and update intervals 2025-04-19 14:50:03 -05:00
ChuckBuilds
42444a1873 Fix index out of range errors in NBA managers by properly handling empty game lists 2025-04-19 14:48:20 -05:00
ChuckBuilds
7a71260cab Reduce NBA manager logging frequency with 5-minute cooldown for status messages 2025-04-19 14:47:18 -05:00
ChuckBuilds
b45a99d3b1 Update NBA scorebug layout to stack period and game clock vertically for better readability 2025-04-19 14:45:15 -05:00
ChuckBuilds
a44fa29e73 changed favorite teams in NBA scoreboard and enabled test mode 2025-04-19 14:38:45 -05:00
ChuckBuilds
241498c92d Update display controller run() method to improve team tracking. Add priority for live games with favorite teams, better team rotation integration, and separate state tracking for NHL and NBA games. 2025-04-19 14:37:41 -05:00
ChuckBuilds
39ba8b5adb Add NBA game tracking support alongside NHL games. Implement NBA managers and update display controller to handle both sports simultaneously. Add team rotation for NBA games with recent/upcoming game support. 2025-04-19 14:36:21 -05:00
ChuckBuilds
2ee235587b changed default test teams for nba manager 2025-04-19 14:34:27 -05:00
ChuckBuilds
1ea585aaac Add NBA scoreboard manager with live, recent, and upcoming game display functionality 2025-04-19 14:28:29 -05:00