обновление для подгрузки конфигов для веб-интерфейса

This commit is contained in:
2026-08-19 16:25:19 +03:00
parent ed9889439a
commit bddc0967b3
9 changed files with 4095 additions and 3 deletions

158
settings/hockey_api.json Normal file
View File

@@ -0,0 +1,158 @@
{
"base_url": "https://stat2tv.khl.ru/",
"auth_mode": "auto",
"ui_language": "ru",
"fallback_language": "ru",
"store_ru": true,
"store_en": true,
"sync_interval_seconds": 300,
"request_timeout_seconds": 20,
"verify_ssl": true,
"timezone": "Europe/Moscow",
"auto_sync_on_startup": false,
"games_endpoint_template": "{tournament_id}/schedule-{tournament_id}-live.xml",
"games_auto_discovery": true,
"games_cache_seconds": 300,
"players_endpoint_template": "{tournament_id}/players-{tournament_id}.xml",
"player_countries_endpoint_template": "players-countries.xml",
"referees_endpoint_template": "{tournament_id}/referees-{tournament_id}.xml",
"match_json_endpoint_template": "{tournament_id}/json/{game_id}.json",
"match_json_en_endpoint_template": "{tournament_id}/json_en/{game_id}.json",
"shots_endpoint_template": "shots/shots-{game_id}.json",
"match_directories_cache_seconds": 300,
"standings_endpoint_template": "{tournament_id}/standings-{tournament_id}.xml",
"standings_cache_seconds": 300,
"powerplay_endpoint_template": "{tournament_id}/powerplay-{tournament_id}.xml",
"rank_endpoint_template": "{tournament_id}/rank-{tournament_id}.xml",
"navigation_endpoint_template": "{tournament_id}/navigation-{tournament_id}.xml",
"tournament_statistics_cache_seconds": 300,
"optional_resource_negative_cache_seconds": 86400,
"timer_period_minutes": 20,
"timer_regular_overtime_minutes": 5,
"timer_playoff_overtime_minutes": 20,
"timer_reset_on_period_change": true,
"strength_regulation_skaters": 5,
"strength_regular_overtime_skaters": 3,
"strength_playoff_overtime_skaters": 5,
"strength_min_skaters": 3,
"strength_regulation_display": "pp",
"strength_regular_overtime_display": "numbers",
"strength_playoff_overtime_display": "pp",
"strength_powerplay_label": "PP",
"strength_shorthanded_label": "PK",
"strength_show_shorthanded": false,
"strength_state_labels": {
"regulation": {
"5x5": {
"ru": "",
"en": ""
},
"5x4": {
"ru": "БОЛ",
"en": "PP"
},
"4x4": {
"ru": "4 на 4",
"en": "4 on 4"
},
"5x3": {
"ru": "5 на 3",
"en": "5 on 3"
},
"4x3": {
"ru": "4 на 3",
"en": "4 on 3"
},
"3x3": {
"ru": "3 на 3",
"en": "3 on 3"
}
},
"regular_overtime": {
"3x3": {
"ru": "3 на 3",
"en": "3 on 3"
},
"4x3": {
"ru": "4 на 3",
"en": "4 on 3"
},
"4x4": {
"ru": "4 на 4",
"en": "4 on 4"
},
"5x3": {
"ru": "5 на 3",
"en": "5 on 3"
},
"5x4": {
"ru": "5 на 4",
"en": "5 on 4"
},
"5x5": {
"ru": "5 на 5",
"en": "5 on 5"
}
},
"playoff_overtime": {
"5x5": {
"ru": "",
"en": ""
},
"5x4": {
"ru": "PP",
"en": "PP"
},
"4x4": {
"ru": "4 на 4",
"en": "4 on 4"
},
"5x3": {
"ru": "5 на 3",
"en": "5 on 3"
},
"4x3": {
"ru": "4 на 3",
"en": "4 on 3"
},
"3x3": {
"ru": "3 на 3",
"en": "3 on 3"
}
}
},
"scoreboard_team_states": {
"home_delayed_penalty": {
"ru": "Отложенный штраф",
"en": "Delayed penalty",
"input": "4419919f-86d1-4bd5-b0b0-c369cd5f647a",
"input_title": "DELAYED PENALTY HOME",
"overlay": "2",
"enabled": true
},
"home_empty_net": {
"ru": "Пустые ворота",
"en": "Empty net",
"input": "9acba229-3c9a-49e0-9e84-0a97b4c19062",
"input_title": "EMPTY NET HOME",
"overlay": "3",
"enabled": true
},
"away_delayed_penalty": {
"ru": "Отложенный штраф",
"en": "Delayed penalty",
"input": "165dc512-4a45-477f-acb4-9c3838e407a3",
"input_title": "DELAYED PENALTY AWAY",
"overlay": "2",
"enabled": true
},
"away_empty_net": {
"ru": "Пустые ворота",
"en": "Empty net",
"input": "34e288f3-3be4-41a7-ae2a-a3489cc2fd7d",
"input_title": "EMPTY NET AWAY",
"overlay": "3",
"enabled": true
}
}
}