Эх сурвалжийг харах

Replace the system say tool, for easy integration

Zachary Kotlarek 12 жил өмнө
parent
commit
c60b0a6f00
1 өөрчлөгдсөн 8 нэмэгдсэн , 0 устгасан
  1. 8 0
      speak/say

+ 8 - 0
speak/say

@@ -0,0 +1,8 @@
+#!/bin/bash
+
+TMPDIR="`tempDir.sh`"
+if [ -z "${TMPDIR}" ] || [ ! -S "${TMPDIR}/plexMonitor/SPEAK.socket" ]; then
+	exec say.orig ${@}
+fi
+
+exec ~/bin/video/dmx/cmd.pl SPEAK "${1}"