Add individual NHL display mode control - Add display_modes section to NHL config - Add granular control over nhl_live, nhl_recent, and nhl_upcoming - Update DisplayController to respect individual mode settings

This commit is contained in:
ChuckBuilds
2025-04-18 11:02:01 -05:00
parent fd2b40a35b
commit 1c97087cf4
2 changed files with 21 additions and 15 deletions

View File

@@ -66,17 +66,18 @@
},
"nhl_scoreboard": {
"enabled": true,
"favorite_teams": [
"TBL",
"DAL"
],
"test_mode": true,
"logo_dir": "assets/sports/nhl_logos",
"test_mode": false,
"update_interval_seconds": 60,
"live_update_interval": 30,
"recent_update_interval": 300,
"upcoming_update_interval": 300,
"recent_update_interval": 3600,
"upcoming_update_interval": 3600,
"recent_game_hours": 48,
"show_only_favorites": true,
"cycle_game_duration_seconds": 10
"favorite_teams": ["TBL", "DAL"],
"logo_dir": "assets/sports/nhl_logos",
"display_modes": {
"nhl_live": true,
"nhl_recent": true,
"nhl_upcoming": true
}
}
}