------------------------------------------------------------------------
A poll associated with this post was created, to vote and see the
results, please visit http://forums.slimdevices.com/showthread.php?t=116649
------------------------------------------------------------------------
Question: On what player types does the alarm fail for you?
    
- Squeezebox Radio (official firmware 7.x) 
- Squeezebox Radio (community firmware 8.x) 
- Squeezebox Touch (official firmware 7.x) 
- Squeezebox Touch (community firmware 8.x) 
- SB Classic/Boom/Receiver/Transporter 
- Other (eg. Raspberry Pi based)
------------------------------------------------------------------------

Tested the above and it works:

Code:
--------------------
    [22-11-23 12:26:00.0034] Slim::Utils::Alarm::sound (516) Alarm triggered 
for Assurancetourix
  [22-11-23 12:26:00.0084] Slim::Utils::Alarm::sound (560) Sounding alarm
  [22-11-23 12:26:00.0177] Slim::Utils::Alarm::sound (589) Current Power State: 
Off
  [22-11-23 12:26:00.0309] Slim::Utils::Alarm::pushAlarmScreensaver (1839) 
Attempting to push into alarm screensaver: . Current mode: INPUT.List
  [22-11-23 12:26:00.0340] Slim::Utils::Alarm::sound (609) Current vol: 17 
Alarm vol: 32
  [22-11-23 12:26:00.0372] Slim::Utils::Alarm::sound (612) Changing volume from 
17 to 32
  [22-11-23 12:26:00.0445] Slim::Utils::Alarm::sound (622) Alarm playlist 
shufflemode: 0
  [22-11-23 12:26:00.0487] Slim::Utils::Alarm::sound (628) Alarm playlist url: 
http://opml.radiotime.com/Tune.ashx?id=s124134&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=88beeb0eb03dde47915d999c774f56c9
  [22-11-23 12:26:00.1609] Slim::Utils::Alarm::_setAlarmSubscription (1204) 
Adding alarm subscription
  [22-11-23 12:26:00.1658] Slim::Utils::Alarm::sound (697) Scheduling time out 
in 3600 seconds
  [22-11-23 12:26:00.1695] Slim::Utils::Alarm::_startStopTimeCheck (1880) 1 
scheduled alarm(s)
  [22-11-23 12:26:00.1725] Slim::Utils::Alarm::scheduleNext (1391) Asked to 
schedule next alarm for Assurancetourix
  [22-11-23 12:26:00.1757] Slim::Utils::Alarm::findNextTime (461) Potential 
next time found: 6:30:0 24/11/2022
  [22-11-23 12:26:00.1797] Slim::Utils::Alarm::findNextTime (466) Last alarm 
due: 12:26:0 23/11/2022
  [22-11-23 12:26:00.1827] Slim::Utils::Alarm::findNextTime (461) Potential 
next time found: 12:26:0 23/11/2022
  [22-11-23 12:26:00.1856] Slim::Utils::Alarm::findNextTime (466) Last alarm 
due: 12:26:0 23/11/2022
  [22-11-23 12:26:00.1882] Slim::Utils::Alarm::findNextTime (471) Skipping..
  [22-11-23 12:26:00.1910] Slim::Utils::Alarm::findNextTime (461) Potential 
next time found: 12:26:0 24/11/2022
  [22-11-23 12:26:00.1938] Slim::Utils::Alarm::findNextTime (466) Last alarm 
due: 12:26:0 23/11/2022
  [22-11-23 12:26:00.1967] Slim::Utils::Alarm::scheduleNext (1424) Next alarm 
is at 6:30:0 24/11/2022
  [22-11-23 12:26:00.1993] Slim::Utils::Alarm::scheduleNext (1435) Scheduling 
alarm
  [22-11-23 12:26:00.2023] Slim::Utils::Alarm::_startStopTimeCheck (1880) 2 
scheduled alarm(s)
  [22-11-23 12:26:00.2212] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd 
called with request: stop
  [22-11-23 12:26:00.2240] Slim::Utils::Alarm::_alarmEnd (1980) stop requested 
by '/6edd4328/slim/playerprefs/00:04:20:12:34:56|467||6edd4328|Mozilla/5.0 
(X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0'
  [22-11-23 12:26:00.2340] Slim::Utils::Alarm::_alarmEnd (1982) Ignoring 
self-created request
  [22-11-23 12:26:00.2450] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd 
called with request: power
  [22-11-23 12:26:00.2478] Slim::Utils::Alarm::_alarmEnd (1980) stop requested 
by '/6edd4328/slim/playerprefs/00:04:20:12:34:56|467||6edd4328|Mozilla/5.0 
(X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0'
  [22-11-23 12:26:00.2504] Slim::Utils::Alarm::_alarmEnd (1982) Ignoring 
self-created request
  [22-11-23 12:26:42.7089] Slim::Utils::Alarm::_alarmEnd (1966) Ignoring 
unwanted notification: mode stop
  [22-11-23 12:26:42.7250] Slim::Utils::Alarm::_alarmEnd (1966) Ignoring 
unwanted notification: playlist stop
  [22-11-23 12:26:42.8223] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd 
called with request: pause
  [22-11-23 12:26:42.8264] Slim::Utils::Alarm::_alarmEnd (1980) stop requested 
by '/6edd4328/slim/playerprefs/00:04:20:12:34:56|467||6edd4328|Mozilla/5.0 
(X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0'
  [22-11-23 12:26:42.8291] Slim::Utils::Alarm::_alarmEnd (1982) Ignoring 
self-created request
  [22-11-23 12:26:42.9313] Slim::Utils::Alarm::popAlarmScreensaver (1866) 
Attempting to pop alarm screensaver.  Current mode: INPUT.List
  [22-11-23 12:26:43.9346] Slim::Utils::Alarm::__ANON__ (901) Restoring 
pre-alarm shuffle mode: 0
  [22-11-23 12:26:43.9419] Slim::Utils::Alarm::__ANON__ (905) Restoring 
pre-alarm power state: off
  
--------------------


There does appear to be some race condition active though because the
log does not show me switching off the alarm on the device itself at
12:26:42 but instead only the response from Material to that state
change notification. The alarm did in fact stop as can be seen in the
last two lines.


------------------------------------------------------------------------
gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=116649

_______________________________________________
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to