diff options
Diffstat (limited to 'modules/play')
-rwxr-xr-x | modules/play | 6 |
1 files 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 \ \|`"')$: [30m\1[m: s:^:/play : s:.*:[32m&[m: ' 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 [33m\ Keine Audiodatei mit dem Namen [4m$1[;33m.EXT gefunden... \ am besten gleich uploaden: -$ scp NAME shack@shack:speak/sample/ +$ scp NAME $LOGNAME@shack:noise/samples/ folgende Dateiendungen werden erkannt: $ffs[m EOF |