Explorar el Código

Replace the system say tool, for easy integration

Zachary Kotlarek hace 12 años
padre
commit
c60b0a6f00
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  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}"