trying to get to the bottom of this double sound problem on hourly chimes.
This commit is contained in:
parent
1f97585260
commit
04f03b6481
@ -337,7 +337,7 @@ if [ "$minute" -eq "0" ] ; then
|
|||||||
if [ $chime != "false" ] ; then
|
if [ $chime != "false" ] ; then
|
||||||
i=0
|
i=0
|
||||||
#create chime string for sound players that can handle more than one sound argument.
|
#create chime string for sound players that can handle more than one sound argument.
|
||||||
soundString="$prependSound"
|
soundString=""
|
||||||
while [ "$i" -lt "$hour" ] ; do
|
while [ "$i" -lt "$hour" ] ; do
|
||||||
if [[ "$soundCommand" == "play" || "$soundCommand" == "play -q" || "$soundCommand" == "ogg123" || "$soundCommand" == "ogg123 -q" ]] ; then
|
if [[ "$soundCommand" == "play" || "$soundCommand" == "play -q" || "$soundCommand" == "ogg123" || "$soundCommand" == "ogg123 -q" ]] ; then
|
||||||
soundString="$soundString $hourChime"
|
soundString="$soundString $hourChime"
|
||||||
|
Loading…
Reference in New Issue
Block a user