pull/104/merge
clach04 2024-02-11 07:10:50 -07:00 committed by GitHub
commit f78bc2057d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -335,6 +335,10 @@ case "$COMMAND" in
SEQUENCEVAL=',\"text\":\"'${SEQUENCEVAL}'\"'
;;
speak:*)
if [ $USE_ANNOUNCEMENT_FOR_SPEAK -gt 0 ] ; then
echo "ERROR: USE_ANNOUNCEMENT_FOR_SPEAK not supported in plain shell version. Requires jq"
exit 1
fi
TTS=$(echo ${COMMAND##*:} | sed -r 's/["\\]/ /g')
TTS=',\"textToSpeak\":\"'${TTS}'\"'
SEQUENCECMD='Alexa.Speak'