• Stefy Lanza (nextime / spora )'s avatar
    Fix handling of incomplete matches from past days on startup · e4010d4e
    Stefy Lanza (nextime / spora ) authored
    - Add _cleanup_old_incomplete_matches() to mark 2+ day old matches as failed
    - Add _get_yesterday_incomplete_matches() to detect yesterday's incomplete matches
    - Add _get_or_create_today_fixture() to ensure new matches go to today's fixture
    - Modify initialize() to process past incomplete matches before starting
    - Modify _handle_start_game() to use pre-computed yesterday_fixture_id
    - Add yesterday_fixture_id attribute to track yesterday's fixture for completion
    
    This ensures:
    - Matches from 2+ days ago are marked as failed with bet cancellation
    - Yesterday's incomplete matches are played to completion first
    - New matches are created in today's fixture, not yesterday's
    e4010d4e
Name
Last commit
Last update
..
__init__.py Loading commit data...
application.py Loading commit data...
games_thread.py Loading commit data...
match_timer.py Loading commit data...
message_bus.py Loading commit data...
rtsp_streamer.py Loading commit data...
screen_cast.py Loading commit data...
template_watcher.py Loading commit data...
thread_manager.py Loading commit data...
udp_broadcast.py Loading commit data...
video_feeder.py Loading commit data...