Skip to content

Release v2.20.0

Choose a tag to compare

@github-actions github-actions released this 09 Jan 19:29

Changes in this Release

2.20.0

  • Adding logger for websocket messages to debug disconnects (-MLA)
  • implement debug messages because of match close issues
  • Deactivated the matches API endpoint; this endpoint is no longer available for client use
  • stats backend update
  • Improved Blind Support busted announcments
    • just play a fixed busted sound to not confuse the blind player with different calls like "thrown to high"
  • Improved Blind Support "you require" announcements
    • Now uses specific sound variant you_require+1.mp3 for consistent tone
    • Skips "you require" announcement when dart scores zero (miss/outside)
  • Added play_sound_effect_variant() function
    • Allows playing specific sound file variants (e.g., filename+1.mp3)
    • Falls back to random selection if variant not found
  • Fixed Blind Support duplicate score announcements
    • Total score now announced only once after 3rd dart
    • Removed duplicate announcement after "Turn ended"
    • Bot total scores now announced correctly
  • Fixed Blind Support dart position announcement order
    • Dart position now announced BEFORE "you require" in checkout range
    • Proper sequence: Position → "you require X" (darts 1-2), Position only (dart 3)
  • Blind Support now works independently of CALL_EVERY_DART setting
    • No longer requires -E parameter to function
  • Added Blind Support feature (-CBS / --call_blind_support)
    • Announces target field at the start of each player's turn (for applicable game modes)
    • Announces exact dart position after every throw with intelligent sound file usage
    • Supported game modes: X01, ATC, RTW, Bermuda, Shanghai, Count-Up, Gotcha
    • Replaces normal game mode calls when enabled to prevent duplicates
    • Smart dart position announcements:
      • Outer Single: Only number (e.g., "20")
      • Inner Single: "inside" + number (e.g., "inside 20")
      • Triple: Uses t-prefix files (e.g., "t20") with fallback to "triple 20"
      • Double: Uses d-prefix files (e.g., "d20") with fallback to "double 20"
      • Outside: Uses m-prefix files (e.g., "m20") with fallback to "outside 20"
      • Bull/Bullseye: Direct announcement
    • Corrected Bermuda rounds mapping (12-13-14-D-15-16-17-T-18-19-20-25-50)
    • Required sound files: bs_target_is, bs_single_inner, bs_any_double, bs_any_triple, plus existing t*, d*, m* files
      • the soundfiles are included in new pack versions for all googleai and openai voices.
  • Added CustomArgumentParser class for improved error output on invalid arguments
    • Shows only relevant error messages instead of full help text
    • Provides helpful hints based on error type