Commit Graph
100 Commits
Author SHA1 Message Date
ChuckandGitHub 6fcc93cab8 Fix ncaafb ranking display (#45)
* Fix NCAAFB ranking display issue

- Remove duplicate ranking system that was drawing rankings behind team logos
- Old system (_get_rank) was drawing rankings at top of logos
- New system (_fetch_team_rankings) correctly draws rankings in bottom corners
- Remove old ranking calls from live, recent, and upcoming game drawing functions
- Remove unnecessary _fetch_rankings() calls from update methods
- Rankings now only appear in designated corner positions, not overlapping logos

Fixes issue where team rankings/betting lines were being drawn behind
team logos instead of replacing team records in the corners.

* Add missing show_ranking and show_records options to NCAAFB web UI

- Add show_ranking option to NCAAFB scoreboard config template
- Add show_records and show_ranking toggle switches to NCAAFB web UI
- Update JavaScript form collection to include new fields
- Users can now control whether to show team records or rankings via web interface

This completes the fix for NCAAFB ranking display - users can now enable
show_ranking in the web UI to see AP Top 25 rankings instead of team records.
2025-09-17 14:46:57 -04:00
Chuck 379e2c3714 Merge development branch with recovered PRs and latest improvements
- All missing PRs (#15, #17, #35, #36) are now in both main and development
- Latest development improvements merged to main
- Resolved conflicts by keeping development branch merged content
2025-09-17 10:01:05 -04:00
Chuck 3cbb32fec6 Merge missing PRs from main: NCAA Hockey (#36), Emulator Support (#35), NCAA FB AP rankings (#17), NCAA FB logos (#15)
- Added NCAA Hockey support with new manager and logos
- Added emulator support with requirements file
- Added NCAA FB AP top 25 rankings functionality
- Added NCAA FB logo download capability
- Resolved conflicts by keeping development branch improvements while adding missing features
2025-09-17 10:00:27 -04:00
Chuck 29ead0f7d9 renamed ncaa_fbs_logos to ncaa_logos per previous pull request for ncaa hockey, introduced broken managers elsewhere 2025-09-16 22:54:55 -04:00
Chuck 7022a5c572 re-introduce 6 pixel shift, but static instead of dynamic 2025-09-16 22:48:29 -04:00
Chuck 7ba7d5de13 reduce font shift in music manager fo r more consistent experience 2025-09-16 22:42:58 -04:00
Chuck 007006feb2 team record logic update 2025-09-16 22:39:42 -04:00
Chuck b4b21604da record font debugging 2025-09-16 20:26:00 -04:00
Chuck 688b09b95e adjust ranking logic for ncaa FFB upcoming and recent 2025-09-16 18:31:04 -04:00
Chuck e894c40ff4 Merge development into main
- Resolved conflicts in src/logo_downloader.py:
  - Combined NCAA hockey endpoint with soccer league endpoints
  - Updated directory mappings to use ncaa_logos for NCAA sports
  - Added support for multiple soccer leagues (Premier League, La Liga, etc.)

- Resolved conflicts in src/ncaa_fb_managers.py:
  - Combined immediate fetch approach with background fetch strategy
  - Maintained both immediate response and comprehensive data fetching
  - Preserved caching functionality for improved performance

- Includes all development branch features:
  - Soccer league support with team logos
  - Enhanced NCAA football data fetching
  - Improved logo downloader with multiple league support
  - Updated wiki documentation and configuration
2025-09-16 15:37:59 -04:00
Chuck a23a749c59 Update wiki submodule reference
- Updated LEDMatrix.wiki to latest commit (d85658a)
- Includes major wiki reorganization and documentation updates
2025-09-16 15:36:06 -04:00
Chuck 2d8f1b60a3 wiki changes 2025-09-16 14:40:36 -04:00
Chuck 8c03e65104 wiki page about team abbreviations 2025-09-16 14:33:49 -04:00
Chuck 764d80e818 added more missing soccer logos 2025-09-16 14:31:31 -04:00
Chuck 854c236a60 added portuguese soccer league to documentation for soccer manager and added auto-download missing logos for soccer teams 2025-09-16 14:25:47 -04:00
Chuck 4b1b343a8f shift album font down 2 pixels 2025-09-16 14:13:23 -04:00
Chuck 65f04bff63 adjust music manager album text location 2025-09-16 14:11:39 -04:00
Chuck 8055856137 shift of the day description and subtitle down in more situations 2025-09-16 14:09:27 -04:00
Chuck 17a79976dd shift of the day description down one more pixel for total of 4 2025-09-16 14:06:59 -04:00
Chuck 38062d0bee shift album and artist font down 2025-09-16 14:06:14 -04:00
Chuck 2ce252059e shift of the day description down one more pixel 2025-09-16 12:37:21 -04:00
Chuck c7ee946871 shift music album and artist font down the height of the text font 2025-09-16 12:34:43 -04:00
Chuck 3afcbb759c add freetype error handling 2025-09-16 12:22:54 -04:00
Chuck bc18202736 shift of the day underline up one pixel 2025-09-16 12:21:17 -04:00
Chuck a0973a2ad8 shift whole display down 8 pixels 2025-09-16 12:19:50 -04:00
Chuck c18ab3f91f dialing of the day text spacing - revert back to too much spacing 2025-09-16 12:18:56 -04:00
Chuck 9718595017 dialing of the day text spacing 2025-09-16 12:16:36 -04:00
Chuck 5f803f346b dialing of the day text spacing 2025-09-16 12:13:47 -04:00
Chuck 0320830725 of the day manager text refactor 2025-09-16 12:10:10 -04:00
Chuck 9dd744254a of the day manager text positioning placement fix 2025-09-16 12:03:46 -04:00
Chuck 67b6a6fd68 adjust spacing on of the day manager text 2025-09-16 11:07:06 -04:00
Chuck ca62fd714f Make sure sports displays are properly processing number of recent games to show 2025-09-16 10:55:07 -04:00
Chuck 49346f9a6d change of the day file path detection 2025-09-15 18:33:27 -04:00
Chuck 9200c9cab3 update logic on all sports displays that upcoming and recent games to show are based on each team, not just the first X # of games found 2025-09-15 18:28:40 -04:00
Chuck dbdb730b4d fix upcoming game logic for NFL display too 2025-09-15 18:23:58 -04:00
Chuck 91211d5c86 fix upcoming game logic 2025-09-15 18:22:25 -04:00
Chuck d78c592d6a NCAA FB season now downloads in full but it slows down the display significantly, data fetch has been moved to the background and deferred during scrolling displays 2025-09-15 18:12:54 -04:00
Chuck 4771ec8b3b add black buffer behind odds ticker to finish scroll 2025-09-15 18:09:28 -04:00
Chuck 60f68ff2a3 add permission handling of the day to first time install script 2025-09-15 17:51:20 -04:00
Chuck c7634cbf3a NCAA FB odds fix 2025-09-15 16:00:14 -04:00
Chuck 96cd383436 NCAA FB logging to figure out why recent and upcoming games aren't loading well 2025-09-15 15:41:37 -04:00
Chuck e39dd1e0a3 NCAA FB logging 2025-09-15 15:36:04 -04:00
Chuck 7b1339631c of the day try block fix 2025-09-15 15:27:57 -04:00
Chuck 0579b3b860 more of the day debug logging and fix datetime duplicate in NCAA FB 2025-09-15 15:26:11 -04:00
Chuck e7e76eea4c more robust NCAA FB manager upcoming game check 2025-09-15 15:22:03 -04:00
Chuck 3f431a54d4 path resolution for of the day manager 2025-09-15 15:16:54 -04:00
Chuck d0f8785936 troubleshooting of the day manager 2025-09-15 15:06:07 -04:00
Chuck 7618eafaa6 troubleshooting of the day manager 2025-09-15 14:53:26 -04:00
Chuck f8f4539015 hopefully fix of the day settings 2025-09-15 14:38:42 -04:00
Chuck 0ab978d543 web ui config setting accuracy changes 2025-09-15 14:29:14 -04:00
Chuck c4a51d0f80 espn api update for NCAAFB 2025-09-15 14:21:09 -04:00
Chuck b20c3880b2 make sure web ui is pulling existing config options 2025-09-15 13:59:33 -04:00
Chuck 652461a819 ensure leaderboard is in webui 2025-09-15 13:20:20 -04:00
Chuck 691d39675d web ui bug fixes 2025-09-15 11:57:52 -04:00
Chuck 9bc0cd5629 moving away from dict errors 2025-09-15 11:48:10 -04:00
Chuck 625a501da5 further dict wrapper update 2025-09-15 11:43:47 -04:00
Chuck 28c2dcd2f7 fix dict class for web ui 2025-09-15 11:40:29 -04:00
Chuck c55511c099 webui changes to launch after config file changes 2025-09-15 11:34:40 -04:00
Chuck b96f1e3957 make sure web ui save buttons work 2025-09-15 10:50:55 -04:00
Chuck fcbc67464d persistent config file via config.template.json and migrate_config.sh 2025-09-15 10:27:16 -04:00
Chuck 4b36937a55 Update sports league logos 2025-09-15 09:17:01 -04:00
Chuck 8ead8ad893 Fix NCAA Football recent games to show truly recent games (last 14 days) instead of entire season
- Add date-based filtering to NCAAFBRecentManager
- Only consider games from last 14 days as 'recent'
- Prevents Week 1 games from showing when user wants yesterday's games
- Fixes issue where recent_games_to_show: 1 would show old games instead of most recent
2025-09-15 08:50:28 -04:00
Chuck fbff65fbad fix NCAA FB Quarter logic. Fix -1th and 10 status text when negative yards are received 2025-09-14 16:32:10 -04:00
Chuck 19edd9ace0 Merge development branch into main - resolved conflict in ncaa_fb_managers.py 2025-09-12 19:21:28 -04:00
Chuck 0982ef78dd clean config 2025-09-12 19:18:20 -04:00
Chuck 5695d8e017 minor fixes 2025-09-12 19:09:43 -04:00
Chuck 06ad446925 update stock call method 2025-09-12 18:57:39 -04:00
Chuck 6b5a9cdff7 disable calendar for test 2025-09-12 18:56:05 -04:00
Chuck efb66118e4 full test of most display modes 2025-09-12 18:53:38 -04:00
Chuck 2444aa2fc9 manual buffer on odds ticker to finish the scroll 2025-09-12 18:52:27 -04:00
Chuck 93f6173efa apply leaderboard duration logic to odds manager 2025-09-12 18:49:33 -04:00
Chuck dc81d48ab1 new TAANDM logo 2025-09-12 18:46:34 -04:00
Chuck 5c32be929e shorten buffer for one perfect loop 2025-09-12 18:43:15 -04:00
Chuck 105f60f57e disable odds 2025-09-12 18:40:00 -04:00
Chuck a52130cedb brute forcing math for scroll speed 2025-09-12 18:39:31 -04:00
Chuck d08e7953f2 improve math on dynamic duration for leaderboard 2025-09-12 18:34:35 -04:00
Chuck d7544b04dd add rankings to odds ticker team names 2025-09-12 18:32:33 -04:00
Chuck 0291540df4 update width calculation for leaderboard duration. Reduce log spam 2025-09-12 18:27:52 -04:00
Chuck 27b9b0267b current x postion tracking update for leaderboard 2025-09-12 18:21:10 -04:00
Chuck cffef0d161 leaderboard debugging 2025-09-12 18:14:37 -04:00
Chuck b5cb71b68d enable loop for scrolling dynamic displays 2025-09-12 18:12:02 -04:00
Chuck 7685586508 web ui updates for leaderboard and odds manager timeout if APi call limit is hit 2025-09-12 18:08:46 -04:00
Chuck b8aaa56b4b Add NCAA football logo download script and update team abbreviations
- Added download_espn_ncaa_fb_logos.py script to download logos from ESPN API
- Downloaded 50 NCAA football team logos to test/ncaaFBlogos/
- Updated all_team_abbreviations.txt with current ESPN team data
- Updated various team logo files (MLB, NBA, NFL, NHL, NCAAF)
2025-09-12 18:01:43 -04:00
Chuck 4aa307c8dd dynamic duration buffer adjustment 2025-09-12 17:57:06 -04:00
Chuck 12b99024a4 leaderboard spacing update 2025-09-12 17:54:40 -04:00
Chuck 22f0e29315 leaderboard spacing calculation update 2025-09-12 17:45:52 -04:00
Chuck 6eeba92350 disable dynamic duration leaderboard 2025-09-12 17:40:52 -04:00
Chuck 286ba2b044 disable loop 2025-09-12 17:39:20 -04:00
Chuck 4b5a1e41d8 update font for leaderboard 2025-09-12 17:34:33 -04:00
Chuck 008705b75c re-enable two leagues for leaderboard 2025-09-12 17:29:51 -04:00
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