ha-alexa-tts icon indicating copy to clipboard operation
ha-alexa-tts copied to clipboard

"underscore" included in speaking

Open caobach42 opened this issue 4 years ago • 2 comments

Hi,

This tool works well for me for long time, but now echo's speech includes underscore Example with command: -e speak:1_2 It should be: "one two" (as before) but now: "one underscore two"

Any idea to fix?

caobach42 avatar Mar 08 '20 15:03 caobach42

I just came across this problem.

I have fixed it in my fork, check here; https://github.com/patriot1889/ha-alexa-tts/commit/49b9f042b29b1de28cdee28c6156c7a21e56bd47

patriot1889 avatar Mar 09 '20 21:03 patriot1889

Thanks, it worked now

P.s I use only file alexa_remote_control.sh, so we need update similar in this file to fix issue TTS=$(echo ${COMMAND##*:} | ${SED} -r 's/[^-a-zA-Z0-9_.,?! ]//g' | sed 's/ /-/g')

caobach42 avatar Mar 10 '20 03:03 caobach42