projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed folder issue
[feisty_meow.git]
/
scripts
/
multimedia
/
play_random.sh
diff --git
a/scripts/multimedia/play_random.sh
b/scripts/multimedia/play_random.sh
index b2e824fc19216bb203b3a01c0330ae98498215d5..a5df00939603978878af3ede9fa047d642595e9e 100644
(file)
--- a/
scripts/multimedia/play_random.sh
+++ b/
scripts/multimedia/play_random.sh
@@
-13,9
+13,9
@@
if [ ! -z "$grunty" ]; then
VOXDIR=/z/walrus/media/sounds
#hmmm: generalize the above.
FILE_LIST=$(find $VOXDIR -type f)
VOXDIR=/z/walrus/media/sounds
#hmmm: generalize the above.
FILE_LIST=$(find $VOXDIR -type f)
-
#
echo "file list is $FILE_LIST"
+echo "file list is $FILE_LIST"
LINES=$(find $VOXDIR -type f | wc -l)
LINES=$(find $VOXDIR -type f | wc -l)
-#echo "
lines is
$LINES"
+#echo "
info found is:
$LINES"
LESS_CHANCE=$(expr $LINES \\* 4)
#echo "less chance is $LESS_CHANCE"
TO_PLAY=
LESS_CHANCE=$(expr $LINES \\* 4)
#echo "less chance is $LESS_CHANCE"
TO_PLAY=
@@
-25,7
+25,7
@@
if [ ! -z "$grunty" ]; then
done
# now play the file
done
# now play the file
- bash $FEISTY_MEOW_SCRIPTS/sound_play.sh $TO_PLAY
+ bash $FEISTY_MEOW_SCRIPTS/
multimedia/
sound_play.sh $TO_PLAY
fi
fi