New add-on (help needed): anki-TTS-speech-dispatcher

Hello,

I’m writing an add-on which will allow TTS using speech-dispatcher. This software is the default interface for speech synthesis on many Linux systems; being used by default by projects such as Emacs and Firefox. The code is here. Currently it’s just a very stripped down version of the gTTS example add-on because most of speechd’s config is done in config files.

It’s not ready to be shared on Ankiweb due to the following issue: Anki will read the {{tts}} field once, and only on the first card or preview. Afterwards, no other fields will be read until Anki is restarted. I’d greatly appreciate help fixing this.