Bugzilla – Bug 9092
Alarm symbol remains on player even though no individual alarms are enabled
Last modified: 2009-07-31 10:26:50 UTC
I had one alarm, which was not set to repeat. The alarm went off, and the individual alarm was therefore set to "Off". "All Alarms" was "On". However, when I turned the player off, the date time screensaver still shows the alarm symbol, even though there's no alarm configured to go off.
Max: Can you have a look at this?
There were a few bugs with the repeat alarm setting which have now been fixed. It's quite possible that the alarm symbol was correct i.e. the alarm was actually set to go off. Could you please confirm whether you still see this issue with the latest version?
Ping Philip
I've managed to reproduce this myself and so will take a look to work out what's going on.
Okay, I've worked out what is causing this. The attached patch should fix it. The problem was only with the display of the next alarm - it wouldn't have actually sounded. I've had a good think about the implications of this change and am almost certain that it's safe. However, I am slightly nervous about it as it is to the alarm scheduling code, which hasn't needed any changes for a long time and proved to have many odd edge cases to handle when I was designing it. I've done what limited testing I can and it seems to work, but more testing would be very welcome. CC-ing Chris for a decision on whether to commit to 7.2.
Created attachment 3777 [details] Fix
Yes please commit it. Thanks!
Committed in change 22530. This should hopefully fix the issue.
Verified fixed in SqueezeCenter 7.2-22900
This bug has been fixed in the 7.3.0 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Reduce number of active targets for SC