Commit Graph
100 Commits
Author SHA1 Message Date
Chuck 5937f968ef change duration buffer on odds ticker 2025-09-12 17:28:11 -04:00
Chuck 4fe5547bf8 test with just one league for leaderboard 2025-09-12 17:25:25 -04:00
Chuck 96f6749516 change width draw logic in leaderboard display 2025-09-12 17:21:20 -04:00
Chuck bc3883df14 config manager reductions to reduce overhead 2025-09-12 17:15:45 -04:00
Chuck 32b1b8020a specific leaderboard logging 2025-09-12 15:39:20 -04:00
Chuck 9280295ed3 leaderboard debugging 2025-09-12 15:19:03 -04:00
Chuck e5a29d4668 dynamic duration for odds ticker has larger buffer 2025-09-12 15:15:22 -04:00
Chuck 4cfaa5ca59 reduce logging for leaderboard dynamic duration 2025-09-12 15:13:13 -04:00
Chuck 6f894a587b league data key added to leaderboard image calculation 2025-09-12 15:10:17 -04:00
Chuck 35eb9cbdb5 better handling for png transparency in broadcast logos 2025-09-12 15:08:22 -04:00
Chuck 2d41c5ca31 leaderboard improvements and timing update 2025-09-12 15:06:08 -04:00
Chuck 14f7a8b502 improce caching for leaderboard 2025-09-12 15:02:33 -04:00
Chuck 5101795cbf handle special characters in team names (TA&M A&M) 2025-09-12 14:55:18 -04:00
Chuck 6d0632acee logo downloader for FCS teams is more robust 2025-09-12 14:50:19 -04:00
Chuck 9298eff554 smoother leaderboard scrolling 2025-09-12 13:37:19 -04:00
Chuck 335ab8cce0 update leaderboard data sources for other sports and font sizes 2025-09-12 13:35:01 -04:00
Chuck 32daced427 update logic on odds ticker dynamic duration 2025-09-12 12:10:50 -04:00
Chuck 153edcc2e1 update record & rank logic, update leaderboard font and logo sizes 2025-09-12 12:08:46 -04:00
Chuck 548bc00e00 use correct AP Poll top 25 for NCAAFB 2025-09-12 11:50:51 -04:00
Chuck f8ab022da9 add dynamic duration to leaderboard 2025-09-10 22:54:24 -04:00
Chuck cd80745dcb update height references 2025-09-10 22:32:25 -04:00
Chuck 56dfbda40a update leaderboard layout 2025-09-10 22:12:33 -04:00
Chuck 591555c3c7 make sure leaderboard is scrolling horizontally to show all teams 2025-09-10 21:56:29 -04:00
Chuck bbabad3135 adjustment on leaderboard 2025-09-10 21:28:30 -04:00
Chuck 3329822a46 update tnt logo 2025-09-10 18:21:03 -04:00
Chuck 413a1fa38c update cbs logo 2025-09-10 18:19:11 -04:00
Chuck 3ee7821353 update some broadcast logos and fix multiple stacked panels logic 2025-09-10 18:13:42 -04:00
Chuck 20a816f3e6 update sports logo 2025-09-10 17:01:05 -04:00
Chuck 457f9f9eb5 better error handling and correct image call for top 25 2025-09-10 16:45:34 -04:00
Chuck 39519dbfff enable leaderboard for testing 2025-09-10 13:20:15 -04:00
Chuck 61a56560f3 adjust odds manager mlb spacing 2025-09-10 13:19:45 -04:00
Chuck c1ccd6f44a fix leaderboard manager import 2025-09-10 13:16:42 -04:00
Chuck 2123f78dad adjust spacing in Odds Manager ticker when Baseball is live, to reduce space between graphic and gameplay stats 2025-09-10 13:12:57 -04:00
ChuckBuilds a3dbc6a4a8 standardize config init across displays 2025-09-04 22:24:02 -04:00
ChuckBuilds 8a0fdb005d update UTC timezone logic to check config settings for all managers 2025-09-04 22:18:01 -04:00
ChuckBuilds 92071237c1 listing all missing team logos 2025-08-19 17:40:09 -05:00
ChuckBuilds 52c2d61dcf Fix odds ticker black display issue when returning to rotation
- Reset display start time when force_clear is True or when starting fresh
- Reset scroll position for clean start when display is reset
- Add check for old display start time and reset if it's more than 2x dynamic duration
- Prevents the odds ticker from staying black when it comes back into rotation
- Ensures proper state management between display sessions
2025-08-18 21:50:38 -05:00
ChuckBuilds 73036c33cb Reduce spacing around bases diamond for tighter layout
- Moved bases to right edge of odds column to be closer to inning indicator
- Reduced horizontal spacing from 10px to 8px between bases
- Reduced vertical spacing from 8px to 6px for more compact diamond
- Updated cluster width from 26px to 24px to match tighter spacing
- Adjusted positioning offset from 13px to 12px for proper centering
- Bases now positioned closer to the inning indicator for better visual flow
2025-08-18 21:46:57 -05:00
ChuckBuilds d6eb7a778c Update odds ticker bases to match MLB manager style
- Changed from circular bases to diamond-shaped bases (polygons)
- Increased base size from 6px to 8px to match MLB manager
- Increased spacing from 8px to 10px for better visibility
- Added proper cluster positioning and sizing calculations
- Shifted bases down 2 pixels from center for better positioning
- Increased minimum width to 30px to accommodate larger base cluster
- Now uses same diamond-shaped base style as MLB manager for consistency
2025-08-18 21:41:14 -05:00
ChuckBuilds 62b50cc06f fix display start time on odds ticker and added amazon prime video logo to broadcast 2025-08-18 21:35:54 -05:00
ChuckBuilds 05bee6ce84 Replace odds text section with centered graphical bases for baseball
- Removed text-based odds display for baseball live games entirely
- Graphical bases now replace the entire odds section (not just overlay it)
- Bases are properly centered vertically on the display (height // 2)
- Bases are centered horizontally within the odds column width
- Creates cleaner, more focused display with bases as the main visual element
2025-08-18 21:31:58 -05:00
ChuckBuilds 2c2d24c0a8 Fix missing datetime variables for baseball live games
- Added back day_text, date_text, and time_text variables for baseball live games
- These variables are needed for the datetime display section
- Shows inning (▲5), count (2-1), and outs (2 outs) in the datetime column
- Fixes the 'cannot access local variable' error that was occurring
2025-08-18 21:01:39 -05:00
ChuckBuilds b252229e03 adjust live bases on the odds ticker 2025-08-18 20:55:50 -05:00
ChuckBuilds 8f7aeee546 Fix graphical base positioning and remove old text display
- Removed old text-based bases display code that was still showing
- Fixed positioning calculation for graphical bases to center properly
- Added bounds checking to prevent bases from overlapping off display
- Bases are now properly centered in the odds column with appropriate spacing
- Cleaned up baseball live game display to show only count, outs, and graphical bases
2025-08-18 20:44:48 -05:00
ChuckBuilds b7fa2f1df6 Add graphical base indicators to odds ticker for baseball live games
- Added _draw_base_indicators() method similar to MLB manager
- Replaced text-based bases display with graphical diamond representation
- Shows diamond outline with filled circles for occupied bases
- Displays count and outs as text while showing bases graphically
- Creates more visual and intuitive representation of game state
- Uses smaller size (6px) and spacing (8px) appropriate for odds ticker
2025-08-18 19:54:13 -05:00
ChuckBuilds ba3b79dd72 adjust spacing on live game scores 2025-08-18 19:48:14 -05:00
ChuckBuilds e4e058ff97 Fix outs pluralization in odds ticker live baseball games
- Changed outs display to use proper pluralization:
  - '1 out' for single out
  - '2 outs', '3 outs' for multiple outs
- This makes the live game information more grammatically correct and readable
2025-08-18 19:47:23 -05:00
ChuckBuilds 0b42cec902 Fix odds ticker mid-scroll cutoff issue
- Modified calculate_dynamic_duration() to add extra buffer time when looping is enabled
- Added 20% extra buffer for looping to ensure smooth transitions
- Added logic to detect when display is ending and reset scroll position for clean transitions
- Added display start time tracking to manage duration properly
- This prevents the odds ticker from cutting off mid-scroll when switching modes
2025-08-18 19:46:20 -05:00
ChuckBuilds 35ad842ba1 adjust spacing on live odds outs 2025-08-18 19:43:27 -05:00
ChuckBuilds 08cf4152f7 Improve odds ticker live game display formatting
- Removed parentheses around scores for live games (e.g., 'Team 5' instead of 'Team (5)')
- Improved bases section for baseball games:
  - Changed from '1', '2', '3' to '1B', '2B', '3B' for clarity
  - Changed from '---' to 'Empty' when no bases are occupied
  - This makes it much clearer what the information represents
- Live games now show cleaner, more readable score format
2025-08-18 19:42:30 -05:00
ChuckBuilds 71a392737e Add comprehensive debug logging for odds ticker dynamic duration
- Added debug logging to _fetch_upcoming_games() to track data fetching
- Added debug logging to _create_ticker_image() to track image creation
- Added logging for favorite teams, odds filtering, and game counts
- Added logging for total_scroll_width calculation
- This will help identify why dynamic duration is falling back to minimum
2025-08-18 19:26:12 -05:00
ChuckBuilds 2b93eafcdf improve odds ticker dynamic duration 2025-08-18 19:23:20 -05:00
ChuckBuilds 3c1706d4e8 Fix odds ticker dynamic duration timing issue
- Modified get_dynamic_duration() to trigger update when total_scroll_width is 0
- This ensures the dynamic duration is calculated with actual data before being used
- Prevents fallback to minimum duration (30s) when odds ticker hasn't updated yet
- Added debug logging to track when updates are triggered for duration calculation
2025-08-18 19:13:54 -05:00
ChuckBuilds e4b3adb867 Fix test script to handle missing game data keys
- Added safe key access using .get() method with defaults
- Added display of available keys in game data for debugging
- Added sport field display to help identify data structure
- This prevents KeyError when game data structure changes
2025-08-18 19:09:50 -05:00
ChuckBuilds 9f00124fad Fix odds ticker dynamic duration calculation
- Fixed double-counting of display width in total_scroll_width calculation
- Added detailed debug logging for dynamic duration calculation
- Added debug logging for scrolling behavior and loop resets
- Created test script for debugging dynamic duration issues
- The issue was that total_scroll_width included display width, causing
  incorrect duration calculations that resulted in early cutoff
2025-08-18 19:05:36 -05:00
ChuckBuilds 68416d0293 live games in odds ticker 2025-08-18 15:50:23 -05:00
ChuckBuilds e63198dc49 scroll priority to determine data refreshes 2025-08-18 15:21:39 -05:00
ChuckBuilds a5ce721733 improve filtering on show_favorite_teams_only 2025-08-15 10:14:33 -05:00
ChuckBuilds e3b65588a2 support older versions of python not having the Union import 2025-08-15 09:38:23 -05:00
ChuckBuilds f13e9306c9 more fallback errors for milb fonts 2025-08-14 16:46:48 -05:00
ChuckBuilds ef82610a06 milb font error handling 2025-08-14 13:39:48 -05:00
ChuckBuilds 18145edbf1 default games to show 1 2025-08-14 13:02:23 -05:00
ChuckBuilds 54635fee3c ensure game rotation count respects user defined variable 2025-08-14 13:01:23 -05:00
ChuckBuilds 6152969340 fix favorite team toggle logic being skipped 2025-08-14 12:26:57 -05:00
Chuck 8770e5a327 update readme to use install script 2025-08-13 21:59:16 -05:00
Chuck 822d9909ed apply fix to mlb 2025-08-13 21:49:19 -05:00
Chuck d179700c6c Removed the problematic os.path.dirname(os.path.abspath(__file__)) pattern 2025-08-13 21:35:53 -05:00
Chuck dfecc6f8a0 loading fonts va absolute paths 2025-08-13 21:23:37 -05:00
Chuck 0d8d4084a9 overzealous with the font change, rolling some back 2025-08-13 20:54:16 -05:00
Chuck 6bc1039ed6 change how font is loaded via systemctl - added direct paths 2025-08-13 20:36:23 -05:00
Chuck 8e1b04550b allow werkzeug to work in our environment 2025-08-13 17:32:08 -05:00
Chuck 33e1f05f77 update first time install script 2025-08-13 17:15:24 -05:00
Chuck c4113367f7 default config set 2025-08-13 15:46:20 -05:00
Chuck 4b906b3a92 remove autostart of dsiplay from autostart of web ui 2025-08-13 14:59:49 -05:00
Chuck 06d8360922 web autostart troubleshooting 2025-08-13 14:45:56 -05:00
Chuck 9d4082665a graceful font fallback 2025-08-13 12:53:11 -05:00
Chuck a3481f3674 permission handling in first time install script 2025-08-13 12:13:41 -05:00
Chuck e36d92340e more robust first time install script, ensure it creates config_secrets 2025-08-13 11:36:59 -05:00
Chuck 6225189b3c more robust font loading for OTD manager 2025-08-13 10:23:43 -05:00
Chuck 6c658c23c4 disable google calendar by default 2025-08-13 09:52:53 -05:00
Chuck 30cf8ee2e8 make the first time install script more inclusive of user actions 2025-08-12 17:42:22 -05:00
Chuck 2526c6097e update docs 2025-08-12 10:23:22 -05:00
Chuck 1e0889fe84 cleanup 2025-08-11 18:24:23 -05:00
Chuck ba0716d37e update readme 2025-08-11 18:20:23 -05:00
Chuck b8d9eb65f6 clean up milb upcoming 2025-08-11 18:00:40 -05:00
Chuck 03f0a6e6e2 troubleshoot milb upcoming 2025-08-11 17:25:03 -05:00
Chuck 5971e4afa1 troubleshooting autostart for web ui v2 2025-08-11 16:28:04 -05:00
Chuck dc840b63d8 trying to improve on demand display 2025-08-11 16:01:16 -05:00
Chuck 865b30c631 reduce log spam 2025-08-11 15:45:19 -05:00
Chuck da17f214da improve stop on demand 2025-08-11 15:21:20 -05:00
Chuck 643397c939 added first_time_install script 2025-08-11 14:22:54 -05:00
Chuck 1704001ef6 ensure web ui actions work and web interface is starting without venv 2025-08-11 14:12:17 -05:00
Chuck 18d6758dbe web sudo script 2025-08-11 14:02:43 -05:00
Chuck 19f5b7e3bc remove venv from web v2 2025-08-11 11:35:43 -05:00
Chuck 28c81825cc remove venv from web v2 2025-08-11 11:27:03 -05:00
Chuck 151777fbd6 update requirements for web ui 2025-08-10 21:22:36 -05:00
Chuck 8a8e3c21cb update service to autostart web ui 2025-08-10 20:53:33 -05:00
Chuck 809cb07bb8 on demand displays 2025-08-10 20:46:41 -05:00
Chuck edce5fae85 milb upcoming game debug logging 2025-08-10 18:26:25 -05:00
Chuck 10c1342bdb milb upcoming game debug logging 2025-08-10 17:38:56 -05:00