Commit Graph

32 Commits

Author SHA1 Message Date
ChuckBuilds
c8e6d5a201 fix: Adjust NHL team logo positions to prevent overlapping - Move home team logo to right side (3/4 width) - Keep away team logo on left side (1/4 width) - Fixes issue with logos being displayed in the same position 2025-04-18 12:26:55 -05:00
ChuckBuilds
8cd7851f42 Fix NHL logo rendering in scorebug layout - Add proper RGBA mode conversion - Implement correct transparency handling with temporary RGB images - Add detailed logging for logo loading - Fix status text field name - Add fallback text rendering 2025-04-18 10:28:43 -05:00
ChuckBuilds
084e283c04 Fix NHL logo transparency handling - Use logo as mask when pasting to properly handle transparency - Match the approach used in weather icons 2025-04-18 10:26:09 -05:00
ChuckBuilds
dea69febd8 Simplify NHL logo rendering to match weather icon approach - Remove RGBA conversion and handling - Remove temporary image compositing - Use direct PNG loading and pasting 2025-04-18 10:15:14 -05:00
ChuckBuilds
8850387564 Simplify NHL logo rendering to match weather/stock icon approach - Use direct RGBA mode for logo loading and rendering - Simplify image resizing with thumbnail method - Improve error handling and logging - Use relative positioning for better layout 2025-04-18 10:11:22 -05:00
ChuckBuilds
c5e99bb9a3 Fix NHL logo rendering by properly handling image modes - Convert RGBA logos to RGB before pasting to avoid alpha channel errors - Simplify logo rendering process while maintaining aspect ratio - Remove unnecessary alpha channel masking that was causing errors 2025-04-18 10:07:09 -05:00
ChuckBuilds
747f68e567 Fix NHL logo rendering with proper RGB/RGBA handling - Create separate RGB images for logos and background - Use alpha channel as mask when converting from RGBA to RGB - Ensure all image operations use compatible modes 2025-04-18 10:02:25 -05:00
ChuckBuilds
bdd29b3fe0 Fix NHL logo rendering alpha channel issues - Convert RGBA images to RGB before pasting to avoid alpha channel errors - Remove unnecessary mask parameter from paste operations 2025-04-18 09:58:27 -05:00
ChuckBuilds
285e6f6524 Improve NHL logo rendering and add detailed logging - Add proper aspect ratio preservation when resizing logos - Improve alpha channel handling with temporary RGBA image compositing - Add detailed logging for logo loading and validation - Add image format and size validation - Fix logo size calculations to maintain aspect ratio - Add debug logging for successful logo rendering 2025-04-18 09:44:14 -05:00
Chuck
d8e7cf0e06 Update nhl_scoreboard.py
NHL drawing rework with alpha handling
2025-04-17 21:52:44 -05:00
ChuckBuilds
27339efb52 debug(nhl): Add logging to investigate resize/AttributeError issue 2025-04-17 14:26:20 -05:00
ChuckBuilds
081182fa98 fix(nhl): Use resize() instead of thumbnail() for logo scaling 2025-04-17 14:19:10 -05:00
ChuckBuilds
5c32aa019a fix(nhl): Use manual putpixel loop for logo drawing compatibility 2025-04-17 14:08:02 -05:00
ChuckBuilds
4144d50b9d fix(nhl): Add .load() before alpha_composite for compatibility 2025-04-17 13:54:25 -05:00
ChuckBuilds
efe2eaf370 fix(nhl): Use Image.alpha_composite for logo drawing for compatibility 2025-04-17 13:50:45 -05:00
ChuckBuilds
827f07b836 fix(nhl): Use 4-tuple box and alpha mask Image for Image.paste() compatibility 2025-04-17 13:44:23 -05:00
ChuckBuilds
cf6685e3d2 fix(nhl): Revert Image.paste() to use 2-tuple pos and alpha Image mask 2025-04-17 13:40:30 -05:00
ChuckBuilds
c9de154e4e added .im to away mask for NHL 2025-04-17 13:35:18 -05:00
ChuckBuilds
10318e56ea change config.json data refresh rates and modify logo imaging in nhl 2025-04-17 13:30:01 -05:00
ChuckBuilds
960239dcc7 fix(nhl): Use 4-element box tuple for Image.paste() compatibility 2025-04-17 13:24:16 -05:00
ChuckBuilds
72068013ad fix(nhl): Use positional arg for mask in Image.paste() for compatibility 2025-04-17 13:20:35 -05:00
ChuckBuilds
837dbf1346 feat(nhl): Use fast update interval only during live games, idle otherwise 2025-04-17 13:15:18 -05:00
ChuckBuilds
858eea87ce refactor(nhl): Move extract_game_details into NHLScoreboardManager class 2025-04-17 13:12:11 -05:00
ChuckBuilds
09d69ae71a fix(nhl): Add missing 'Any' import for type hint 2025-04-17 13:10:08 -05:00
ChuckBuilds
e0660dbb6a refactor(nhl): Collect and cycle through all relevant favorite game statuses (live, upcoming, final) 2025-04-17 13:08:56 -05:00
ChuckBuilds
218d4af5e9 refactor(nhl): Implement prioritized display logic and live game cycling 2025-04-17 13:00:10 -05:00
ChuckBuilds
6a5996ca9b feat(nhl): Fetch today and yesterday data to find recent finals 2025-04-17 12:28:57 -05:00
ChuckBuilds
bd53814542 feat(nhl): Implement dynamic update interval based on game state 2025-04-17 11:44:19 -05:00
ChuckBuilds
16b679d80d refactor(nhl): Finalize NHL manager class implementation 2025-04-17 11:30:02 -05:00
ChuckBuilds
f6f39a50b7 refactor(nhl): Convert NHL scoreboard to Manager class 2025-04-17 11:24:59 -05:00
ChuckBuilds
e31f7d6021 feat: Add NHL scoreboard logic and config integration 2025-04-17 11:15:04 -05:00
ChuckBuilds
0f12bc6830 starting on NHL Scoreboard and added team logos, adjusted config 2025-04-17 11:10:44 -05:00