View Single Post
Old 10-21-2020, 10:34 AM   #36
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,248
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
The good news is that I should be able to use Doitsu's TTS replacement to do the speaking and recording to WAV.

The bad news is that I'm missing some basic understanding of how to include the comtypes module in the plugin.

Doitsu's Sigil plugin includes a comtypes directory. I've done the same in the calibre plugin by taking a copy of the comtypes directory from my local Python3.5 site-packages.

What do I need to do to point the plugin at it's own bundled comtypes rather than looking for it in calibre's python? I tried adding
Code:
from calibre_plugins.tts_to_mp3_plugin import comtypes
at the top of comtypes/__init__.py, but that doesn't appear to be correct.
jackie_w is offline   Reply With Quote