Roland0 wrote: 
> Have you restarted LMS with debug logging ? You should see:
> > 
Code:
--------------------
  >   > [21-12-11 04:16:38.0798] Plugins::LMSannounce::Plugin::initPlugin (116) 
LMSannounce init start
  > [21-12-11 04:16:38.0808] Plugins::LMSannounce::Plugin::initPlugin (137) 
LMSannounce: using /usr/local/etc/la-ttsprofiles.json
  > [21-12-11 04:16:38.0830] Plugins::LMSannounce::Plugin::initPlugin (144) 
LMSannounce: parsed la-ttsprofiles.json
  > [21-12-11 04:16:38.0836] Plugins::LMSannounce::Plugin::initPlugin (150) 
LMSannounce initialized (v0.1.0)
--------------------
> > 
> 
> otherwise the plugin cannot read/parse 
> /usr/local/etc/la-ttsprofiles.json

OK, I've restarted the LMS now:

Code:
--------------------
    [21-12-13 17:32:38.3740] main::init (390) Starting Logitech Media Server 
(v8.2.0, 1627922070, Tue Aug  3 11:43:18 CEST 2021) perl 5.032000 - 
arm-linux-gnueabihf-thread-multi-64int
  [21-12-13 17:32:41.8532] Plugins::LMSannounce::Plugin::initPlugin (116) 
LMSannounce init start
  [21-12-13 17:32:41.8544] Plugins::LMSannounce::Plugin::initPlugin (134) 
LMSannounce: using /etc/la-ttsprofiles.json
  [21-12-13 17:32:41.8553] Plugins::LMSannounce::Plugin::initPlugin (144) 
LMSannounce: parsed la-ttsprofiles.json
  [21-12-13 17:32:41.8558] Plugins::LMSannounce::Plugin::initPlugin (150) 
LMSannounce initialized (v0.1.0)
--------------------



Code:
--------------------
    
http://192.168.1.130:9000/plugins/LMSannounce/js.html?cmd=announceTTS&ttsprofile=gtts-de&text=Hallo&playerid=00:04:20:22:fa:31
--------------------


received the following error:

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



Code:
--------------------
    [21-12-13 17:33:48.0211] Plugins::LMSannounce::Plugin::handleJSONP (201) 
handleJSONP cmd=announceTTS pid=00:04:20:22:fa:31 forcewake=
  [21-12-13 17:33:48.0227] Plugins::LMSannounce::Plugin::handleJSONP (210) 
handleJSONP targetClient=00:04:20:22:fa:31
  [21-12-13 17:33:48.0239] Plugins::LMSannounce::Plugin::savePlaylistState 
(374) savePlaylistState called
  [21-12-13 17:33:48.0286] Plugins::LMSannounce::Plugin::announceTTS (323) 
announceTTS called: ttspreset=gtts-de text=Hallo
  [21-12-13 17:33:48.0295] Plugins::LMSannounce::Plugin::announceTTS (325) 
announceTTS: preset={'output' => '-o ','text' => '-t','cmd' => 
'/home/tc/gTTS.sh','options' => ''}
  [21-12-13 17:33:48.0301] Plugins::LMSannounce::Plugin::announceTTS (330) 
announceTTS: command: /home/tc/gTTS.sh -o  /tmp/annTTS.wav  -t "Hallo"
--------------------


------------------------------------------------------------------------
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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to