Re: [SlimDevices: Plugins] [Announce] LMS Announce - play announcements / notifications

2021-04-16 Thread SingingDwarf


Roland0 wrote: 
> First, check from the shell if your TTS engine actually works. Then,
> check if the command 
> > 
Code:

  >   > /usr/bin/espeak -w  /tmp/annTTS.wav -ven+m1  "new message"

> > 
> works (delete /tmp/annTTS.wav when done)
I unders
Thank you - it was a case of RTFM!

I didn't have a TTS engine installed unfortunately, I hadn't read that
part of the instructions and missed this critical pre-requisite! Thank
you for your patience.

On another notes, is there any documentation around getting the plugin
to work with a cloud TTS service, such as Google TTS or Azure TTS?  I
understand that a custom la-ttsprofiles.json is required, but not sure
how to go about starting



SingingDwarf's Profile: http://forums.slimdevices.com/member.php?userid=69485
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


Re: [SlimDevices: Plugins] [Announce] LMS Announce - play announcements / notifications

2021-04-14 Thread SingingDwarf


I have just installed the plugin and get the following error when
testing with Squeezeplay:


Code:

{"msg":"error 32512 while executing TTS","error":true}



when trying to execute the command


Code:


arthur.fritz.box:9000/plugins/LMSannounce/js.html?cmd=announceTTS=espeak-en-m=new%20message=02%3A42%3A55%3A18%3Ace%3A74



The server.log shows:


Code:

[21-04-14 22:55:39.1350] Plugins::LMSannounce::Plugin::handleJSONP (201) 
handleJSONP cmd=announceTTS pid=02:42:55:18:ce:74 forcewake=
  [21-04-14 22:55:39.1355] Plugins::LMSannounce::Plugin::handleJSONP (210) 
handleJSONP targetClient=02:42:55:18:ce:74
  [21-04-14 22:55:39.1359] Plugins::LMSannounce::Plugin::savePlaylistState 
(374) savePlaylistState called
  [21-04-14 22:55:39.1370] Plugins::LMSannounce::Plugin::announceTTS (323) 
announceTTS called: ttspreset=espeak-en-m text=new message
  [21-04-14 22:55:39.1375] Plugins::LMSannounce::Plugin::announceTTS (325) 
announceTTS: preset={'options' => '-ven+m1','cmd' => '/usr/bin/espeak','text' 
=> '','output' => '-w '}
  [21-04-14 22:55:39.1377] Plugins::LMSannounce::Plugin::announceTTS (330) 
announceTTS: command: /usr/bin/espeak -w  /tmp/annTTS.wav -ven+m1  "new message"




SingingDwarf's Profile: http://forums.slimdevices.com/member.php?userid=69485
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