#TTS MP3 files being kept

1 messages · Page 1 of 1 (latest)

late isle
#

Every time the TTS process runs, it leaves an MP3 in the config/tts directory. Is there a flag/setting to stop the build up of files?
Cheers

sour wing
late isle
#

I'll have to hunt for that.

#

The setting for cache is only on say or message. A lot of the MP3s are default responses for stuff like "What is the time?"

sour wing
#

Oh, you mean Assist responses?

#

So, if you invoke tts.say you can explicitly state whether you want to cache the generated audio or not. By default it's off
By contrast, when uaing Assist, all responses are cached and that's a good thing in my book (e.g. no point in re-rendering "turned on lights")

#

It's a good idea to make that a user-facing option, but you'd need to add a feature request for it. Indeed, time queries don't really make sense to be cached

hoary idol
#

I think there's also a service call you can run to clear the cache if you want

#

tts.clear_cache

somber epoch
late isle
sour wing
late isle