This repository has been archived by the owner on Sep 8, 2024. It is now read-only.
Remove configuration of TTS file extension #2935
Labels
Status: For discussion
Feature proposal in development. Community input and discussion is invited.
Is your feature request related to a problem? Please describe.
TTS engines are currently configured to use a specific file extension. The only reason for this seems to be to determine which command should be used to play the file. If that's the case, we can detect it rather than have an extra configuration value.
This limits TTS engines to a single file type whilst some engines have an option for different types eg Polly.
Describe the solution you'd like
Rather than configure this and pass a value around, we should be able to detect the file type when we need to - ie when playing the audio file itself.
The only exception would be if the file path does not include a file extension for some reason.
Additional context
Split from #2929
The text was updated successfully, but these errors were encountered: