trying to get to the bottom of this double sound problem on hourly chimes.

This commit is contained in:
Storm dragon 2016-01-26 23:04:19 -05:00
parent 1f97585260
commit 04f03b6481

View File

@ -337,7 +337,7 @@ if [ "$minute" -eq "0" ] ; then
if [ $chime != "false" ] ; then
i=0
#create chime string for sound players that can handle more than one sound argument.
soundString="$prependSound"
soundString=""
while [ "$i" -lt "$hour" ] ; do
if [[ "$soundCommand" == "play" || "$soundCommand" == "play -q" || "$soundCommand" == "ogg123" || "$soundCommand" == "ogg123 -q" ]] ; then
soundString="$soundString $hourChime"