From e5ef73a19a4d1c6279b7b0de2d680eea33a3271d Mon Sep 17 00:00:00 2001 From: Alex Frantz Date: Thu, 25 Jun 2026 23:19:28 -0400 Subject: [PATCH] add venue --- modes/score.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modes/score.py b/modes/score.py index 8996916..107df60 100644 --- a/modes/score.py +++ b/modes/score.py @@ -54,6 +54,7 @@ def _get_scores(sport, league): status = event["status"]["type"]["shortDetail"] result.append({ "league": league, + "venue": comp["venue"]["fullName"], "away": away["team"]["abbreviation"].upper(), "away_score": away["score"], "home": home["team"]["abbreviation"].upper(), @@ -164,11 +165,12 @@ def _draw_text_overlay(canvas, ordered, scroll_x): date = game_status_split[0].strip() time = game_status_split[1].strip() - graphics.DrawText(canvas, font_small, x + 65, 15, + graphics.DrawText(canvas, font_small, x + 60, 10, _rbg(Colors.YELLOW.value), date) - graphics.DrawText(canvas, font_small, x + 65, 25, + graphics.DrawText(canvas, font_small, x + 60, 20, _rbg(Colors.YELLOW.value), time) - print(game) + graphics.DrawText(canvas, font_small, x + 60, 30, + _rbg(Colors.YELLOW.value), game["venue"]) else: graphics.DrawText(canvas, font_small, x + 65, 20, _rbg(Colors.YELLOW.value), game["status"])