From 9d2f77f0ac2b68f280bed7080e40b7e0c122bc89 Mon Sep 17 00:00:00 2001 From: Momo Date: Fri, 9 Sep 2011 15:07:51 +0200 Subject: //god/overlord/overlord: adding announce.mp3 --- god/overlord | 8 -------- god/overlord/overlord | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 god/overlord create mode 100644 god/overlord/overlord (limited to 'god/overlord') diff --git a/god/overlord b/god/overlord deleted file mode 100644 index 087303cb..00000000 --- a/god/overlord +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -announcement=$1 -LC_ALL=C aplay -l|sed -n 's/^card \([0-9]\+\):.*\[USB Audio\]$/\1/p' - -mplayer -ao=alsa:device=surround40:CARD=default,DEV=0 announce.mp3 -/krebs/util/bin/natural $announcement - diff --git a/god/overlord/overlord b/god/overlord/overlord new file mode 100644 index 00000000..c7a79f35 --- /dev/null +++ b/god/overlord/overlord @@ -0,0 +1,8 @@ +#!/bin/bash + +announcement=$1 +LC_ALL=C aplay -l|sed -n 's/^card \([0-9]\+\):.*\[USB Audio\]$/\1/p' + +mplayer -ao alsa:device=hw=$LC_ALL announce.mp3 +/krebs/util/bin/natural $announcement + -- cgit v1.2.3