Liven up the match day: varied ticker wording, whistles, results of the day, eleven of the day
The ticker picks its sentence from several variants by the event's facts and names equalisers, leads and late goals; kickoff, half time and the final whistle are reported, with the same wording while the kickoff runs live. The ticker's third tab lists the other results of the day. Modern chooses an eleven of the day per league from the recorded match facts and the review shows it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
333bc57526
commit
1732a2477b
11 files changed
+288
-24
No files matched your search
@@ -7,6 +7,14 @@ bool App::postmatch_open() {
|
||||
message("Die Auswertung dieser Aufnahme ist nicht verfügbar.");
|
||||
return false;
|
||||
}
|
||||
if (live_.fixture().at("source") == "engine-recording") {
|
||||
// the eleven of the day as the engine chose it for this league
|
||||
const auto records = engine_post_match_records(engine_postmatch_read_, live_.fixture());
|
||||
if (records.is_object()) {
|
||||
auto with_eleven = make_demo_post_match(live_.fixture(), live_.sequence(), records);
|
||||
if (with_eleven.value("ok", false)) data = std::move(with_eleven);
|
||||
}
|
||||
}
|
||||
if (live_.fixture().at("source") != "engine-recording") try {
|
||||
const auto current = snap();
|
||||
if (source_.get() != live_source_ || current.world != live_world_ ||
|
||||
|
||||
Reference in new issue
Block a user