ChuckBuilds
8aff638fd3
Implement NHL managers with ESPN API integration - Add BaseNHLManager with common functionality - Add NHLLiveManager for live games with 30s updates - Add NHLRecentManager for recent games with 1h updates - Add NHLUpcomingManager for upcoming games with 1h updates - Add proper test mode support - Add favorite teams filtering - Add comprehensive error handling and logging - Fix logo rendering with alpha channel support
2025-04-18 10:43:13 -05:00
ChuckBuilds
ddeb4911c1
Refactor NHL scoreboard into separate managers - Create BaseNHLManager for common functionality - Implement NHLLiveManager for live games - Implement NHLRecentManager for recent games - Implement NHLUpcomingManager for upcoming games - Add proper error handling and logging - Fix logo rendering with proper alpha channel handling
2025-04-18 10:40:02 -05:00
ChuckBuilds
1966e9dd4b
rework NHL to call displays individually
2025-04-18 10:33:19 -05:00
ChuckBuilds
77242c139b
Update NHL configuration for new manager structure - Add separate display durations for live/recent/upcoming games - Add specific update intervals for each manager type - Add recent_game_hours setting - Add logo_dir configuration - Remove old update interval settings
2025-04-18 10:33:00 -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
3b2c46de7e
Update stock_manager.py
...
return temporary directory and stock logo downloading. Need to find a better way to handle this
2025-04-17 21:55:35 -05:00
Chuck
8c4619069c
Update weather_manager.py
...
adjust weather large icon from 32 to 30
2025-04-17 21:54:26 -05:00
Chuck
d8e7cf0e06
Update nhl_scoreboard.py
...
NHL drawing rework with alpha handling
2025-04-17 21:52:44 -05:00
Chuck
8d956f81da
Update stock_manager.py
...
commented out temporary directory and downloading of logos
2025-04-17 21:48:12 -05:00
Chuck
720c44106d
Update stock_news_manager.py
...
added gap before headline 1 in stock_news_manager to reinforce the scroll effect
2025-04-17 21:41:26 -05:00
Chuck
e6d400281c
Update weather_icons.py
...
remove alpha threshold in weather_icons
2025-04-17 21:36:09 -05:00
ChuckBuilds
0fa933c596
feat: Add local ticker icons support with external fallback - Add support for local ticker icons from assets/stocks/ticker_icons - Maintain existing external icon fetching as fallback - Improve icon loading with better error handling - Add text-based fallback for missing icons - Update image resizing to use newer PIL API
2025-04-17 19:45:05 -05:00
ChuckBuilds
29b4085370
adjusted icons up one pixel
2025-04-17 19:41:09 -05:00
ChuckBuilds
33dec47bb8
fine weather forecast icon height hourly and daily
2025-04-17 19:34:58 -05:00
ChuckBuilds
fda52076c1
remove clamp max height, assign icon middle of matrix
2025-04-17 19:33:03 -05:00
ChuckBuilds
0802355c97
remove clamp max height, assign icon middle of matrix
2025-04-17 19:31:23 -05:00
ChuckBuilds
38af8c7b38
align time with AMPM
2025-04-17 19:25:46 -05:00
ChuckBuilds
7da306a178
shift hourly icon up by 30 px
2025-04-17 19:24:52 -05:00
ChuckBuilds
ee2cdf502e
shift hourly icon up by 11 px
2025-04-17 19:23:28 -05:00
ChuckBuilds
3dfa70575c
shift hourly icon up by 11 px
2025-04-17 19:20:47 -05:00
ChuckBuilds
75c53a77c8
shift hourly icon up by 6 px
2025-04-17 19:19:03 -05:00
ChuckBuilds
af87da124d
changed font type on clock time
2025-04-17 18:24:25 -05:00
ChuckBuilds
465db4cd77
increase weather resolution from 32 to 64
2025-04-17 18:22:41 -05:00
ChuckBuilds
490c646470
remove exchange icons
2025-04-17 18:11:25 -05:00
ChuckBuilds
cb8bac7aff
added more logos for stocks andstocks and crypto
2025-04-17 18:08:01 -05:00
ChuckBuilds
e5d3765aaf
fix: Add alpha thresholding to remove icon outline on black bg
2025-04-17 18:07:22 -05:00
ChuckBuilds
c077633400
refactor: Shift forecast icons further up
2025-04-17 17:58:51 -05:00
ChuckBuilds
48a20b2033
refactor: Use large icons for forecasts and adjust positioning
2025-04-17 17:56:38 -05:00
ChuckBuilds
00d51dea72
refactor: Rearrange current weather display layout
2025-04-17 17:52:45 -05:00
ChuckBuilds
c4d976ab0d
refactor: Adjust vertical positioning for forecast icons
2025-04-17 17:47:20 -05:00
ChuckBuilds
11764dd04c
feat: Expand weather icon mapping and remove night distinction
2025-04-17 17:44:28 -05:00
ChuckBuilds
49e07c4968
changed logos to filled and larger res
2025-04-17 17:39:26 -05:00
ChuckBuilds
cdd326657b
change weather icon resolution
2025-04-17 17:35:03 -05:00
ChuckBuilds
9be87c461a
refactor: Increase weather icon sizes
2025-04-17 17:32:00 -05:00
ChuckBuilds
27678e91bc
feat: Update weather icons to use basmilius PNG set
2025-04-17 17:20:27 -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
a1fc231124
fix(stock_news): Resolve UnboundLocalError for width/height
2025-04-17 14:03:25 -05:00
ChuckBuilds
48c1eed8a9
fix(stock_news): Refactor headline scrolling logic for proper spacing
...
Previously, the calculation for the wide scrolling image used fixed estimates, leading to insufficient gaps between headlines and causing text to appear cut off.
This change refactors the image generation:
- Calculates the position for each headline based on the actual width of the previous headline's rendered text.
- Adds a gap equal to the full screen width between each headline.
- Simplifies the overall width calculation and adds cropping for efficiency.
- Improves the scrolling logic to handle wrap-around pasting correctly.
2025-04-17 13:57:19 -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
a6d97c392a
increased idle update interval fo rnhl
2025-04-17 13:46:49 -05:00