diff options
author | root <root@shack.fritz.box> | 2010-04-26 19:56:39 +0200 |
---|---|---|
committer | root <root@shack.fritz.box> | 2010-04-26 19:56:39 +0200 |
commit | 1247b6d9d9a911982b5eb2841193dbb1cc32c4da (patch) | |
tree | 57d18d2226c2320529c4cf7f7b7f938064200d6e | |
parent | 58cdb381ea2f134c7d68aba5a8a77eeef3bf22bc (diff) |
play: changed sample dir to $HOME/noise/samples
-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 |