summaryrefslogtreecommitdiffstats
path: root/modules/play
diff options
context:
space:
mode:
Diffstat (limited to 'modules/play')
-rwxr-xr-xmodules/play6
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 \ \|`"')$: \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