code 101 speaker fix

The Problem:

  • During preflight estimation (PREFLIGHT_COUNT_MODE = True), getSpeaker is called
  • getSpeaker calls translateAI to translate the speaker name
  • Because PREFLIGHT_COUNT_MODE = True, translateAI returns the original Japanese text without translation
  • getSpeaker then caches this untranslated Japanese text in _speakerCache (line 3516-3517)
  • During the actual translation pass, getSpeaker finds the Japanese text in the cache and returns it

The Solution: getSpeaker should check if PREFLIGHT_COUNT_MODE is enabled and skip the translation/caching entirely, similar to how it handles SPEAKER_PARSE_MODE

Merge request reports

Loading