233 lines
6.3 KiB
JSON
233 lines
6.3 KiB
JSON
{
|
|
"web_display_autostart": true,
|
|
"schedule": {
|
|
"enabled": false,
|
|
"start_time": "07:00",
|
|
"end_time": "23:00"
|
|
},
|
|
"timezone": "America/Toronto",
|
|
"location": {
|
|
"city": "Ottawa",
|
|
"state": "Ontario",
|
|
"country": "CA"
|
|
},
|
|
"color_map" :{
|
|
"red": [255, 0, 0],
|
|
"green": [0, 255, 0],
|
|
"blue": [0, 0, 255],
|
|
"yellow": [255, 255, 0],
|
|
"cyan": [0, 255, 255],
|
|
"magenta": [255, 0, 255],
|
|
"white": [255, 255, 255],
|
|
"orange": [255, 165, 0],
|
|
"purple": [128, 0, 128]
|
|
},
|
|
"display": {
|
|
"hardware": {
|
|
"rows": 32,
|
|
"cols": 64,
|
|
"chain_length": 2,
|
|
"parallel": 1,
|
|
"brightness": 90,
|
|
"hardware_mapping": "adafruit-hat-pwm",
|
|
"scan_mode": 0,
|
|
"pwm_bits": 9,
|
|
"pwm_dither_bits": 1,
|
|
"pwm_lsb_nanoseconds": 130,
|
|
"disable_hardware_pulsing": false,
|
|
"inverse_colors": false,
|
|
"show_refresh_rate": false,
|
|
"limit_refresh_rate_hz": 100
|
|
},
|
|
"runtime": {
|
|
"gpio_slowdown": 4
|
|
},
|
|
"display_durations": {
|
|
"clock": 15,
|
|
"leaderboard": 300,
|
|
"eojhl_live": 15,
|
|
"eojhl_recent": 15,
|
|
"eojhl_upcoming": 15
|
|
},
|
|
"use_short_date_format": true
|
|
},
|
|
"clock": {
|
|
"enabled": false,
|
|
"format": "%I:%M %p",
|
|
"update_interval": 1
|
|
},
|
|
"transitions": {
|
|
"enabled": true,
|
|
"fade_duration": 0.4,
|
|
"fade_steps": 6,
|
|
"cut_duration": 0.2,
|
|
"easing": true
|
|
},
|
|
"league_order": {
|
|
"eojhl": 1,
|
|
"cchl": 2
|
|
},
|
|
"leaderboard": {
|
|
"enabled": true,
|
|
"enabled_sports": {
|
|
"eojhl": {
|
|
"enabled": true,
|
|
"top_teams": 10,
|
|
"season": 2025,
|
|
"level": 1,
|
|
"sort": "winpercent:desc,gamesbehind:asc"
|
|
}
|
|
},
|
|
"logo_intro_hold": 0,
|
|
"logo_hold": 3,
|
|
"logo_spacing": 20,
|
|
"conference_spacing": 60,
|
|
"show_record": false,
|
|
"update_interval": 3600,
|
|
"scroll_speed": 1,
|
|
"scroll_delay": 0.01,
|
|
"loop": false,
|
|
"request_timeout": 30,
|
|
"dynamic_duration": true,
|
|
"min_duration": 30,
|
|
"max_display_time": 600
|
|
},
|
|
"eojhl_scoreboard": {
|
|
"enabled": true,
|
|
"live_priority": true,
|
|
"live_game_duration": 20,
|
|
"test_mode": false,
|
|
"update_interval_seconds": 3600,
|
|
"live_update_interval": 30,
|
|
"recent_update_interval": 3600,
|
|
"upcoming_update_interval": 3600,
|
|
"recent_games_to_show": 1,
|
|
"upcoming_games_to_show": 3,
|
|
"show_favorite_teams_only": true,
|
|
"show_all_live": true,
|
|
"show_shots_on_goal": true,
|
|
"favorite_teams": [
|
|
"RCH"
|
|
],
|
|
"logo_dir": "assets/sports/eojhl_logos",
|
|
"show_records": true,
|
|
"display_modes": {
|
|
"eojhl_live": true,
|
|
"eojhl_recent": true,
|
|
"eojhl_upcoming": true
|
|
},
|
|
"show_odds": false,
|
|
"show_home_away": true,
|
|
"status_titles": {
|
|
"GAME_DAY": "GAME DAY",
|
|
"HOME_GAME": "NEXT HOME GAME",
|
|
"AWAY_GAME": "NEXT AWAY GAME",
|
|
"RECENT_GAME": "LAST GAME RESULT"
|
|
},
|
|
"title_colors": {
|
|
"GAME_DAY": [255, 255, 0],
|
|
"HOME_GAME": [0, 200, 255],
|
|
"AWAY_GAME": [0, 255, 128],
|
|
"RECENT_GAME": [0, 51, 204]
|
|
}
|
|
},
|
|
"sponsors": {
|
|
"enabled": true,
|
|
"show_all": false,
|
|
"show_num_sponsors": 3,
|
|
"title_row1": "Thank You to",
|
|
"title_row2": "Our Sponsors",
|
|
"enabled_sponsors": [
|
|
"barleymow",
|
|
"bluediamond",
|
|
"bmr",
|
|
"btlock",
|
|
"eardley",
|
|
"legion",
|
|
"royalsresto",
|
|
"sbdodge"
|
|
],
|
|
"barleymow": {
|
|
"enabled": true,
|
|
"show_details": false,
|
|
"pngabbr": "barleymow",
|
|
"details_row1": "R",
|
|
"details_row2": ""
|
|
},
|
|
"bluediamond": {
|
|
"enabled": true,
|
|
"show_details": false,
|
|
"pngabbr": "bluediamond",
|
|
"details_row1": "",
|
|
"details_row2": ""
|
|
},
|
|
"bmr": {
|
|
"enabled": true,
|
|
"show_details": true,
|
|
"pngabbr": "bmr",
|
|
"details_row1": "BMR",
|
|
"details_row2": "Richmond"
|
|
},
|
|
"btlock": {
|
|
"enabled": true,
|
|
"show_details": true,
|
|
"pngabbr": "btlock",
|
|
"details_row1": "Bytown Lock",
|
|
"details_row2": "Commercial"
|
|
},
|
|
"eardley": {
|
|
"enabled": true,
|
|
"show_details": false,
|
|
"pngabbr": "eardley",
|
|
"details_row1": "",
|
|
"details_row2": ""
|
|
},
|
|
"legion": {
|
|
"enabled": true,
|
|
"show_details": false,
|
|
"pngabbr": "legion",
|
|
"details_row1": "",
|
|
"details_row2": ""
|
|
},
|
|
"royalsresto": {
|
|
"enabled": true,
|
|
"show_details": false,
|
|
"pngabbr": "royalsresto",
|
|
"details_row1": "",
|
|
"details_row2": ""
|
|
},
|
|
"sbdodge": {
|
|
"enabled": true,
|
|
"show_details": false,
|
|
"pngabbr": "sbdodge",
|
|
"details_row1": "",
|
|
"details_row2": ""
|
|
},
|
|
"show_details": true,
|
|
"title_row1_font_size": 8,
|
|
"title_row1_colour": "blue",
|
|
"title_row2_font_size": 10,
|
|
"title_row2_colour": "yellow",
|
|
"details_row1_font_size": 10,
|
|
"details_row1_colour": "white",
|
|
"details_row2_font_size": 8,
|
|
"details_row2_colour": "blue",
|
|
"loop": true,
|
|
"duration": 15,
|
|
"title_duration": 5,
|
|
"logo_duration": 5,
|
|
"details_duration": 5,
|
|
"logo_scale": 1.0
|
|
},
|
|
"team_info": {
|
|
"enabled": true,
|
|
"team_abbr": "RCH",
|
|
"logo_dir":"assets/team/eojhl",
|
|
"team_txt_row1": "Richmond",
|
|
"team_txt_row2": "Royals",
|
|
"team_txt_font_size": 8,
|
|
"team_txt_colour": "blue",
|
|
"gap": 5,
|
|
"duration": 10
|
|
}
|
|
} |