mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-12 13:42:59 +00:00
feat: Add NCAA Football scoreboard support
This commit is contained in:
@@ -346,7 +346,7 @@ class DisplayController:
|
|||||||
|
|
||||||
if self.nfl_live and self.nfl_live.live_games:
|
if self.nfl_live and self.nfl_live.live_games:
|
||||||
logger.debug("NFL live games available")
|
logger.debug("NFL live games available")
|
||||||
return True, 'nfl_live'
|
return True, 'nfl'
|
||||||
|
|
||||||
if self.nhl_live and self.nhl_live.live_games:
|
if self.nhl_live and self.nhl_live.live_games:
|
||||||
return True, 'nhl'
|
return True, 'nhl'
|
||||||
@@ -360,11 +360,11 @@ class DisplayController:
|
|||||||
if 'ncaa_fb_scoreboard' in self.config and self.config['ncaa_fb_scoreboard'].get('enabled', False):
|
if 'ncaa_fb_scoreboard' in self.config and self.config['ncaa_fb_scoreboard'].get('enabled', False):
|
||||||
if self.ncaa_fb_live and self.ncaa_fb_live.live_games:
|
if self.ncaa_fb_live and self.ncaa_fb_live.live_games:
|
||||||
logger.debug("NCAA FB live games available")
|
logger.debug("NCAA FB live games available")
|
||||||
return True, 'ncaa_fb_live'
|
return True, 'ncaa_fb'
|
||||||
# Add more sports checks here (e.g., MLB, Soccer)
|
# Add more sports checks here (e.g., MLB, Soccer)
|
||||||
if 'mlb' in self.config and self.config['mlb'].get('enabled', False):
|
if 'mlb' in self.config and self.config['mlb'].get('enabled', False):
|
||||||
if self.mlb_live and self.mlb_live.live_games:
|
if self.mlb_live and self.mlb_live.live_games:
|
||||||
return True, 'mlb_live'
|
return True, 'mlb'
|
||||||
|
|
||||||
return False, None
|
return False, None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user