If started up without Network connection the audio service would crash importing the google_tts module as it tried to fetch language list from google. This restructures it to be a just-in-time check. It also adds a cached list of supported languages to use if an error occurs fetching language codes. A small fix allowing "en-US" to be matched to "en-us" instead of the generic "en" is also included. |
||
---|---|---|
.. | ||
__init__.py | ||
test_espeak_tts.py | ||
test_google_tts.py | ||
test_mimic2_tts.py | ||
test_mimic_tts.py | ||
test_tts.py |