Roland0 wrote: 
> That's going to fail for a lot of cases (e.g. streaming)
> 
> 
> Simplest way would be using ssh.
> Here's a script to use in a TTS profile:
> > 
Code:
--------------------
  >   > 
  > #!/bin/bash
  > 
  > while getopts "o:t:" opt; do
  > case $opt in
  > o)
  > DESTFILE="$OPTARG"
  > ;;
  > t)
  > TEXT="$OPTARG"
  > ;;
  > esac
  > done
  > ssh user@otherraspi "/usr/bin/mimic -o /dev/stdout -voice slt -t \"$TEXT\"" 
> "${DESTFILE}"
  > 
--------------------
> > 
> 
> For a http-based approach, 'webhook'
> (https://github.com/adnanh/webhook) should work if you have curl/wget
> available on piCorePlayer

Many thanks - I'll try that!


------------------------------------------------------------------------
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