Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
27
.bin/OLD/aplay
Executable file
27
.bin/OLD/aplay
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
. ~/.bin/_config
|
||||
needs amused--
|
||||
|
||||
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
DIR="$PWD"
|
||||
echo "No parameter supplied, scraping current dir: $PWD"
|
||||
else
|
||||
DIR="$1"
|
||||
fi
|
||||
|
||||
amused stop
|
||||
|
||||
find "$DIR" -type f -iname "*.flac" \
|
||||
-o -iname "*.mp3" \
|
||||
-o -iname "*.ogg" \
|
||||
-o -iname "*.m4a" \
|
||||
-o -iname "*.aac" \
|
||||
-o -iname "*.wav" \
|
||||
-o -iname "*.aiff" \
|
||||
| amused load
|
||||
|
||||
amused play
|
||||
|
||||
|
||||
Reference in New Issue
Block a user