Quellcode durchsuchen

Replace the system say tool, for easy integration

Zachary Kotlarek vor 12 Jahren
Ursprung
Commit
c60b0a6f00
1 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen
  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}"