splitti / MuPiBox

Portable music box for Spotify and local media based on Raspberry Pi. Operated via touchscreen. Suitable for children and older people.
https://mupibox.de
MIT License
83 stars 19 forks source link

Incorrect / old TTS files after changing TTS Language #28

Closed rgrollfitz closed 10 months ago

rgrollfitz commented 1 year ago

Initially the TTS language is set to English. If, before changing this default, one of the titles is read out and then the language is changed, the old TTS audio file will be used, since its stored locally _(/home/dietpi/MuPiBox/ttsfiles/)

Presumably the TTS files are stored locally to avoid having to access the TTS API again (which most likely only allows limited access) when playing repeatedly.

Maybe it would be possible to attach an identifier to the TTS file, which is updated as soon as this language identifier differs from the currently set TTS language.

splitti commented 10 months ago

Fixed in new versions