summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@shack.fritz.box>2010-04-26 19:56:39 +0200
committerroot <root@shack.fritz.box>2010-04-26 19:56:39 +0200
commit1247b6d9d9a911982b5eb2841193dbb1cc32c4da (patch)
tree57d18d2226c2320529c4cf7f7b7f938064200d6e
parent58cdb381ea2f134c7d68aba5a8a77eeef3bf22bc (diff)
play: changed sample dir to $HOME/noise/samples
-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