tts.openai.say doesn't need a language parameter - and its presence breaks playback

This commit is contained in:
Fabio Manganiello 2024-09-24 12:03:24 +02:00
parent bc01cddee0
commit 9244eedc49

View file

@ -124,6 +124,8 @@ class TtsOpenaiPlugin(TtsPlugin):
duration, channels etc.).
"""
response_processor: Optional[Process] = None
# The language argument isn't required here
player_args.pop('language', None)
try:
response = self._make_request(text, model=model, voice=voice)