summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-10-30 18:38:59 +0100
committermakefu <github@syntax-fehler.de>2013-10-30 18:38:59 +0100
commitab0de77130a1ef639debc074579792cbef116128 (patch)
treebe607bda66e2992d414bed79d4268ded8f4d17ca
parent47adb934b6c92dd014f329c9a16d3fedf32ea534 (diff)
fixes broken att api
-rwxr-xr-xutil/lib/naturalvoices/att.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/lib/naturalvoices/att.sh b/util/lib/naturalvoices/att.sh
index 892e0bc0..3ec903c5 100755
--- a/util/lib/naturalvoices/att.sh
+++ b/util/lib/naturalvoices/att.sh
@@ -14,7 +14,8 @@ get_tts(){
: ${OUTFILE?please provide OUTFILE}
text=$(echo $* | sed -e "s/ /+/g" -e "s/\//%2F/g")
voice="${voice:-klara}"
- ip="192.20.225.36"
+ # TODO grab this url from the tts demo page
+ ip="204.178.9.51"
base_url="http://$ip"
curl -sS $base_url$( curl -Ss -H "Host:$ip" \
-H "Origin:http://www2.research.att.com" \