summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-05-09 20:57:50 +0200
committermakefu <github@syntax-fehler.de>2014-05-09 20:57:50 +0200
commitb0555fabc72efb0cfc97574d8edc91acf5ce85e0 (patch)
treecafcbbbc5b4846a0925e9049ce1715b380a5b623 /util
parent1af5f1bffee23b905476f5cf972d3e3beafe48d6 (diff)
add legacy-note to google stt, disable stt-espeak test
Diffstat (limited to 'util')
-rw-r--r--util/lib/stt/google.sh5
-rw-r--r--[-rwxr-xr-x]util/t/stt/stt-works-with-espeak0
2 files changed, 5 insertions, 0 deletions
diff --git a/util/lib/stt/google.sh b/util/lib/stt/google.sh
index a78579d5..8d23a73d 100644
--- a/util/lib/stt/google.sh
+++ b/util/lib/stt/google.sh
@@ -1,5 +1,10 @@
#!/bin/sh
+cat <<EOF >&2
+NOTE: The google speech-to-text api v1 has been made obsolete!
+Code is here only for reference and will most likely not work anymore.
+EOF
+
_get_content_type(){
file -b --mime-type "$1"
}
diff --git a/util/t/stt/stt-works-with-espeak b/util/t/stt/stt-works-with-espeak
index 31710974..31710974 100755..100644
--- a/util/t/stt/stt-works-with-espeak
+++ b/util/t/stt/stt-works-with-espeak