diff --git a/src/odds_ticker_manager.py b/src/odds_ticker_manager.py index 9d5a77cf..59a0039f 100644 --- a/src/odds_ticker_manager.py +++ b/src/odds_ticker_manager.py @@ -888,6 +888,17 @@ class OddsTickerManager: # Store bases data for later drawing self._bases_data = live_info.get('bases_occupied', [False, False, False]) + + # Set datetime text for baseball live games + inning_half_indicator = "▲" if live_info.get('inning_half') == 'top' else "▼" + inning_text = f"{inning_half_indicator}{live_info.get('inning', 1)}" + count_text = f"{live_info.get('balls', 0)}-{live_info.get('strikes', 0)}" + outs_count = live_info.get('outs', 0) + outs_text = f"{outs_count} out" if outs_count == 1 else f"{outs_count} outs" + + day_text = inning_text + date_text = count_text + time_text = outs_text elif sport == 'football': # Football: Show quarter and down/distance quarter_text = f"Q{live_info.get('quarter', 1)}"