From 1247b6d9d9a911982b5eb2841193dbb1cc32c4da Mon Sep 17 00:00:00 2001 From: root Date: Mon, 26 Apr 2010 19:56:39 +0200 Subject: play: changed sample dir to $HOME/noise/samples --- modules/play | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/play b/modules/play index 66295990..dcb8749f 100755 --- a/modules/play +++ b/modules/play @@ -7,14 +7,14 @@ case "$1" in ffs='wav mp3 ogg asf flac' if test -z "$*" ; then - ls ~shack/speak/sample | sed -r ' + ls $HOME/noise/samples | sed -r ' s:\.('"`echo "$ffs" | tr \ \|`"')$: \1: s:^:/play : s:.*:&: ' else for i in $ffs ; do - f=~shack/speak/sample/$1.$i + f=$HOME/noise/samples/$1.$i test -f "$f" && case "$i" in wav) aplay "$f" & ;; @@ -24,7 +24,7 @@ case "$1" in \ Keine Audiodatei mit dem Namen $1.EXT gefunden... \ am besten gleich uploaden: -$ scp NAME shack@shack:speak/sample/ +$ scp NAME $LOGNAME@shack:noise/samples/ folgende Dateiendungen werden erkannt: $ffs EOF -- cgit v1.2.3