Commit Graph

721 Commits

Author SHA1 Message Date
ChuckBuilds
dda8bb0556 turning off mlb test mode 2025-04-25 13:03:10 -05:00
ChuckBuilds
970bfe9926 refactor: Create separate display method for live MLB games 2025-04-25 12:53:28 -05:00
ChuckBuilds
57d3596691 fix: Add 'outs' key back to MLBLiveManager test data 2025-04-25 12:44:24 -05:00
ChuckBuilds
a757e1db27 fix: Align MLBLiveManager test data with expected structure 2025-04-25 12:33:31 -05:00
ChuckBuilds
9511057412 fix: Add missing status_state to MLB test data 2025-04-25 11:30:48 -05:00
ChuckBuilds
c7c628c8a7 enable MLB test mode 2025-04-25 11:21:05 -05:00
ChuckBuilds
0cbe5b14f3 re-enabling displays 2025-04-25 11:18:17 -05:00
ChuckBuilds
c8f6f724db fix: Use _format_game_time method for consistent timezone handling in MLB display 2025-04-25 11:15:17 -05:00
ChuckBuilds
40ab8b761f fix: Properly convert game times to local timezone in MLB display 2025-04-25 11:12:01 -05:00
ChuckBuilds
e36fac1357 fix: Ensure BDF font text is visible by setting correct draw object and updating display 2025-04-25 11:08:23 -05:00
ChuckBuilds
5b16540885 fix: Set proper font size for BDF font in MLB_Manager to make text visible 2025-04-25 11:05:41 -05:00
ChuckBuilds
ade10ce8bf fix: Properly handle timezone conversion in MLB_Manager using pytz 2025-04-25 11:03:27 -05:00
ChuckBuilds
779a46d35c fix: Use _draw_bdf_text directly for 5x7 font in MLB_Manager to prevent flickering 2025-04-25 11:00:11 -05:00
ChuckBuilds
922bfed7f3 Display Manager: Fix text display by properly syncing image with canvas 2025-04-25 10:51:06 -05:00
ChuckBuilds
b603494973 Display Manager: Remove automatic display update from draw_text to prevent flickering 2025-04-25 10:49:18 -05:00
ChuckBuilds
c1bac62d91 updates to enable .bdf font in mlb_manager 2025-04-25 10:46:25 -05:00
ChuckBuilds
5ef851678e Display Manager improvements: 1) Update BDF font handling to use passed font 2) Fix font selection in _draw_bdf_text method 2025-04-25 10:45:18 -05:00
ChuckBuilds
f3dff7431c MLB Manager improvements: 1) Use draw_text for BDF font rendering 2) Keep PressStart2P for scores and times 3) Fix text display issues 2025-04-25 10:37:56 -05:00
ChuckBuilds
f32791d23d remove tomthumb font 2025-04-25 10:31:47 -05:00
ChuckBuilds
33d57a3490 Display Manager improvements: 1) Use existing calendar_font in _draw_bdf_text method 2) Remove redundant Face object creation 2025-04-25 10:29:08 -05:00
ChuckBuilds
47a9052d39 MLB Manager improvements: Add color parameter to _draw_bdf_text calls to make status text visible 2025-04-25 10:25:03 -05:00
ChuckBuilds
87e250e17d MLB Manager improvements: 1) Use DisplayManager's get_text_width for BDF font text width calculation 2) Fix FreeType Face compatibility issue 2025-04-25 10:22:14 -05:00
ChuckBuilds
b010fe0eb0 MLB Manager improvements: 1) Use DisplayManager's calendar_font for status text (Final/Next Game) 2) Keep PressStart2P for scores and dates 3) Use _draw_bdf_text for proper BDF font rendering 2025-04-25 10:18:30 -05:00
ChuckBuilds
2e770b2350 MLB Manager improvements: 1) Use 5x7.bdf font for status text (Final/Next Game) 2) Keep PressStart2P for scores and dates 3) Adjust logo positioning for better centering 2025-04-25 10:14:57 -05:00
ChuckBuilds
7976dee43d MLB Manager improvements: 1) Fetch games for yesterday, today, and tomorrow 2) Use ESPN API date parameter 3) Combine all games into single response 2025-04-25 10:07:41 -05:00
ChuckBuilds
42bf9d004f MLB Manager improvements: 1) Filter logging to only show favorite team games 2) Use status_state for upcoming games 3) Skip processing non-favorite team games 2025-04-25 10:03:57 -05:00
ChuckBuilds
9896eaa12e Improve MLB game status handling: 1) Add status_state from ESPN API 2) Use status_state to determine final games 3) Align with NHL manager's status handling 2025-04-25 09:58:02 -05:00
ChuckBuilds
39ca7b022d Fix MLB recent games display to only show favorite team games 2025-04-25 09:54:00 -05:00
ChuckBuilds
c47aee4f54 adjusted screen offset from 16 to 8 for mlb logos 2025-04-25 09:50:27 -05:00
ChuckBuilds
c3a102ce70 MLB Manager improvements: 1) Update display layout to match NHL style with centered scores 2) Increase logo size to 32x32 pixels 3) Add detailed time logging for favorite teams 4) Filter logging to only show favorite team games 2025-04-25 09:47:46 -05:00
ChuckBuilds
65ca3f8809 turned off displays to troubleshoot MLB 2025-04-25 09:43:15 -05:00
ChuckBuilds
2334ac3f38 Update MLB display layout to match NHL style - Center scores at bottom, position logos off-screen, improve spacing 2025-04-25 09:41:42 -05:00
ChuckBuilds
264521b66b Improve MLB upcoming games display layout - Adjust logo sizes and positioning for better visibility on 32x128 display 2025-04-25 09:33:06 -05:00
ChuckBuilds
a9f6889bea Add detailed logging for MLB API response and status_final games 2025-04-24 20:35:08 -05:00
ChuckBuilds
4ac6c37bab Add detailed logging to debug MLB recent games display 2025-04-24 20:16:47 -05:00
ChuckBuilds
b23b57704d Fix timezone handling in MLB game time display 2025-04-24 20:10:53 -05:00
ChuckBuilds
441844ebed Add status_final to valid game statuses for MLB recent games 2025-04-24 20:00:15 -05:00
ChuckBuilds
0a04a1a80f Improve MLB recent games display: increase time window to 72 hours, add more game status types, and enhance logging 2025-04-24 19:54:12 -05:00
ChuckBuilds
1ba64a0516 Add detailed logging to MLBRecentManager to diagnose missing games 2025-04-24 19:40:37 -05:00
ChuckBuilds
2a250aea75 Fix MLBRecentManager: - Add proper initialization - Improve timezone handling - Add detailed logging - Fix game time comparisons 2025-04-24 19:32:47 -05:00
ChuckBuilds
61237070ed Update MLB upcoming display to match NHL format: - Team logos on edges - Next Game text at top - Centered date and time - Consistent layout 2025-04-24 19:25:39 -05:00
ChuckBuilds
44d58958ba Add 10-second display duration for MLB upcoming games 2025-04-24 19:18:38 -05:00
ChuckBuilds
8e125308ae disable NHL to troubleshoot MLB 2025-04-24 19:10:50 -05:00
ChuckBuilds
7d4cfe354e rename OAK to ATH mlb_logos 2025-04-24 16:11:18 -05:00
ChuckBuilds
9a6460eda1 Fix MLBRecentManager display method: Update display manager correctly without passing arguments 2025-04-24 16:04:37 -05:00
ChuckBuilds
14a09c722c Fix MLBUpcomingManager display method: Update display manager correctly without passing arguments 2025-04-24 16:03:55 -05:00
ChuckBuilds
9b49e33417 Fix MLBUpcomingManager: Initialize current_game attribute to prevent AttributeError 2025-04-24 15:58:56 -05:00
ChuckBuilds
de85b447f7 Improve MLB upcoming games display and logging: - Fix time comparison for upcoming games - Add detailed logging for game status and time checks - Improve timezone handling - Add cooldown for 'no games' warnings 2025-04-24 15:57:47 -05:00
ChuckBuilds
2e0672c7d9 Fix MLB upcoming games status check to match API response 2025-04-24 15:53:31 -05:00
ChuckBuilds
d89c952b0a Fix datetime comparison in MLBUpcomingManager by making both datetimes timezone-aware 2025-04-24 15:51:39 -05:00