summaryrefslogtreecommitdiffstats
path: root/noise/modules/play
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-12-09 20:07:19 +0100
committertv <tv@nomic.retiolum>2013-12-09 20:07:19 +0100
commitf4f5b3b7aff2ac45ee035f54d6e8899ff963d133 (patch)
tree415410184165bbeaa7ed0cb54b7b915a856e909b /noise/modules/play
parent5788b95fe7834d3049df9de1009f3d8dbc34fea2 (diff)
noise: RIP
Diffstat (limited to 'noise/modules/play')
-rwxr-xr-xnoise/modules/play36
1 files changed, 0 insertions, 36 deletions
diff --git a/noise/modules/play b/noise/modules/play
deleted file mode 100755
index 180c1e0c..00000000
--- a/noise/modules/play
+++ /dev/null
@@ -1,36 +0,0 @@
-#! /bin/sh
-case "$1" in
- (--help)
- echo "play an audio file" ;;
- (*)
- exec 2>&1
- ffs='wav mp3 ogg asf flac'
-
- if test -z "$*" ; then
- ls $HOME/noise/samples | sed '
- s:\.\('"`echo "$ffs" | tr \ \|`"'\)$: \1:
- s:^:/play :
- s:.*:&:
- '
- else
- for i in $ffs ; do
- f=$HOME/noise/samples/$1.$i
- test -f "$f" &&
- case "$i" in
- wav) aplay "$f" & ;;
- *) mplayer "$f" & ;;
- esac && break
- done || cat<<EOF
-\
-Keine Audiodatei mit dem Namen
-
- $1.EXT
-
-gefunden... am besten gleich uploaden:
-
- scp NAME shack@shack.shack:$HOME/noise/samples/
-
-folgende Dateiendungen werden erkannt: $ffs
-EOF
- fi
-esac