Announcement

Collapse
No announcement yet.

Timing problem with hs.PluginFunction and Chromecast

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Timing problem with hs.PluginFunction and Chromecast

    Until now I work with the Chromecast Plugin. With that I can turn on the radio as a morning ritual and have the messages of the day read aloud. For the latter I use a trick with "Speak to file" and hs.PluginFunction ("Chromecast", "", ... That works fine, provided I put the whole message in a single file. I now want to apply this for all messages and found that if I send two messages in a row, the first message is spoken twice and the second message is not.
    I did some timing control outside Chromecast to wait for completion by Google Home. And from debug statements I find that the second time Chromecast is called, the file to be played has changed.
    Any idea how to solve this?
Working...
X