martingr wrote: > Hi Roland, I did only two things, also did recognize the different error > message (I thought it is because of switching on debugging maybe) > 1) I saw a lot of Spotty plugin error messages in the log, but anyway > I'm not using it - so I've uninstalled > 2) Switched on "(plugin.lmsannounce) - LMS Announce" debugging, and set > the flag "keep log settings when restarting" - then I've restarted the > piCorePlayer LMS > > I'll go again through the list and give feedback: > a) First, check from the shell if your TTS engine actually works (using > the account LMS runs as, e.g. squeezeboxserver). > b) After that, switch logging to debug for the plugin (LMS Web > interface/Settings/Advanced/Logging/plugin.lmsannounce). Search the > server log for lines like announceTTS: command: /usr/bin/mimic -o > /tmp/annTTS.wav -voice awb -t "message" > c) and check if the command is correct and works from a regular shell > (delete /tmp/annTTS.wav when done).
ad c) works and creates wav via gTTS.sh Code: -------------------- tc@pi-LMS:~$ ls -l total 12 -rwxr-xr-x 1 root staff 579 Dec 12 12:36 gTTS.sh -rwxr-xr-x 1 tc staff 2135 Dec 23 2020 pcp-powerbutton.sh -rwxr-xr-x 1 tc staff 713 Dec 23 2020 powerscript.sh tc@pi-LMS:~$ sh /home/tc/gTTS.sh -o /tmp/annTTS.wav -t "Test" tc@pi-LMS:~$ ls /tmp/annTTS.wav -l -rw-r--r-- 1 tc staff 4320 Dec 19 17:16 /tmp/annTTS.wav tc@pi-LMS:~$ -------------------- ad b) calls gTTS.sh according the log file but returns error Code: -------------------- http://192.168.1.130:9000/plugins/LMSannounce/js.html?cmd=announceTTS&ttsprofile=gtts-de&text=TextTextText&playerid=00:04:20:22:fa:31 -------------------- Code: -------------------- {"error":true,"msg":"error 32512 while executing TTS"} -------------------- Code: -------------------- [21-12-19 18:45:08.3448] Plugins::LMSannounce::Plugin::handleJSONP (201) handleJSONP cmd=announceTTS pid=00:04:20:22:fa:31 forcewake= [21-12-19 18:45:08.3457] Plugins::LMSannounce::Plugin::handleJSONP (210) handleJSONP targetClient=00:04:20:22:fa:31 [21-12-19 18:45:08.3466] Plugins::LMSannounce::Plugin::savePlaylistState (374) savePlaylistState called [21-12-19 18:45:08.3561] Plugins::LMSannounce::Plugin::announceTTS (323) announceTTS called: ttspreset=gtts-de text=TextTextText [21-12-19 18:45:08.3569] Plugins::LMSannounce::Plugin::announceTTS (325) announceTTS: preset={'output' => '-o','options' => '--tld at --lang de','text' => '-t','cmd' => '/home/tc/gTTS.sh'} [21-12-19 18:45:08.3574] Plugins::LMSannounce::Plugin::announceTTS (330) announceTTS: command: /home/tc/gTTS.sh -o /tmp/annTTS.wav --tld at --lang de -t "TextTextText" -------------------- ad a) works, test with mp3 Code: -------------------- http://192.168.1.130:9000/plugins/LMSannounce/js.html?cmd=announceFile&file=/mnt/music/ttsMP3.com Hans/LMS Ansagen/1-03 Bitte die Musik etwas leiser st.mp3&playerid=00:04:20:22:fa:31 -------------------- Code: -------------------- {"msg":"OK","error":false} -------------------- do you have any idea to resolve? ------------------------------------------------------------------------ martingr's Profile: http://forums.slimdevices.com/member.php?userid=64961 View this thread: http://forums.slimdevices.com/showthread.php?t=109096 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins