trollmar wrote: > > I installed the plugin and compiled mimic. > The wav test file works. > > but when i do > > Code: -------------------- > > curl -G 'hxxp://myip:9000/plugins/LMSannounce/js.html' --data-urlencode "cmd=announceTTS" --data-urlencode "ttsprofile=mimic-ap" --data-urlencode "playerid=b8:27:eb:b3:c0:aa" --data-urlencode "text=new message" -------------------- > > > > i get > Code: -------------------- > > {"error":true,"msg":"error 32512 while executing TTS"} -------------------- > > > > > > Code: -------------------- > > hxxp://myip:9000/server.log -------------------- > > > But there a no entries in my Server.log > How could i figure out whats going on?
Switch logging for the plugin to debug in LMS WebUI > Settings > Advanced > Logging You'll get the exact command used to run the TTS engine: Code: -------------------- [21-08-27 09:08:02.8329] Plugins::LMSannounce::Plugin::announceTTS (323) announceTTS called: ttspreset=mimic-ap text=a slightly longer test to announce [21-08-27 09:08:02.8334] Plugins::LMSannounce::Plugin::announceTTS (325) announceTTS: preset={'options' => '-voice ap','output' => '-o ','cmd' => '/opt/mimic-1.3.0.1/bin/mimic','text' => '-t'} [21-08-27 09:08:02.8337] Plugins::LMSannounce::Plugin::announceTTS (330) announceTTS: command: /opt/mimic-1.3.0.1/bin/mimic -o /tmp/annTTS.wav -voice ap -t "a slightly longer test to announce" -------------------- Check if executing this command line as the user LMS runs as (e.g. squeezeboxserver) works, 'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | TUI | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | DB Optimizer | Image Enhancer | Chiptunes | LMSlib2go | ... 'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ... ------------------------------------------------------------------------ Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808 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