Problems triggering an event using localtimeinfo

adding a second check might work especially of the sound byte played is longer then a second.