------------------------------------------------------------------------
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)
------------------------------------------------------------------------
Log: (dump entries removed)
Code:
--------------------
[22-11-22 15:59:00.0158] Slim::Utils::Alarm::sound (516) Alarm triggered
for Maestria
[22-11-22 15:59:00.0256] Slim::Utils::Alarm::sound (560) Sounding alarm
...
[22-11-22 15:59:00.3429] Slim::Control::Request::executeDone (1919) 0
[22-11-22 15:59:00.3472] Slim::Control::Request::__updateListenerSuperRE
(2438) updated listener superRE:
(?^:library|favorites|notification|changed|menustatus|client|rescan|playlist|prefset)
[22-11-22 15:59:00.3533] Slim::Control::Request::unsubscribe (824) Request
from: Slim::Utils::Alarm::_alarmEnd - (36 listeners)
[22-11-22 15:59:00.3656] Slim::Utils::Alarm::_setAlarmSubscription (1204)
Adding alarm subscription
[22-11-22 15:59:00.3702] Slim::Control::Request::__updateListenerSuperRE
(2438) updated listener superRE:
(?^:stop|pause|library|prefset|playlist|power|rescan|client|changed|menustatus|notification|favorites)
[22-11-22 15:59:00.3730] Slim::Control::Request::subscribe (800) Request
from: Slim::Utils::Alarm::_alarmEnd - (37 listeners)
[22-11-22 15:59:00.3826] Slim::Utils::Alarm::sound (697) Scheduling time out
in 3600 seconds
[22-11-22 15:59:00.3864] Slim::Utils::Alarm::_startStopTimeCheck (1880) 0
scheduled alarm(s)
[22-11-22 15:59:00.3909] Slim::Utils::Alarm::_startStopTimeCheck (1889)
Stopping time checker task
[22-11-22 15:59:00.4026] Slim::Utils::Alarm::scheduleNext (1391) Asked to
schedule next alarm for Maestria
[22-11-22 15:59:00.4060] Slim::Utils::Alarm::findNextTime (461) Potential
next time found: 6:30:0 23/11/2022
[22-11-22 15:59:00.4158] Slim::Utils::Alarm::findNextTime (466) Last alarm
due: 15:59:0 22/11/2022
[22-11-22 15:59:00.4360] Slim::Utils::Alarm::findNextTime (461) Potential
next time found: 15:59:0 22/11/2022
[22-11-22 15:59:00.4388] Slim::Utils::Alarm::findNextTime (466) Last alarm
due: 15:59:0 22/11/2022
[22-11-22 15:59:00.4454] Slim::Utils::Alarm::findNextTime (471) Skipping..
[22-11-22 15:59:00.4482] Slim::Utils::Alarm::findNextTime (461) Potential
next time found: 15:59:0 23/11/2022
[22-11-22 15:59:00.4656] Slim::Utils::Alarm::findNextTime (466) Last alarm
due: 15:59:0 22/11/2022
[22-11-22 15:59:00.4684] Slim::Utils::Alarm::scheduleNext (1424) Next alarm
is at 6:30:0 23/11/2022
[22-11-22 15:59:00.4711] Slim::Utils::Alarm::scheduleNext (1435) Scheduling
alarm
[22-11-22 15:59:00.4750] Slim::Utils::Alarm::_startStopTimeCheck (1880) 1
scheduled alarm(s)
[22-11-22 15:59:00.4836] Slim::Utils::Alarm::_startStopTimeCheck (1884)
Starting time checker task
[22-11-22 15:59:00.4923] Slim::Control::Request::notifyFromArray (839) (alarm
_cmd)
[22-11-22 15:59:00.4960] Slim::Control::Request::notify (2011) Notifying
randomplay
[22-11-22 15:59:00.5315] Slim::Control::Request::notify (2011) Notifying
alarm sound
...
[22-11-22 15:59:00.6066] Slim::Control::Queries::statusQuery (3522)
statusQuery()
[22-11-22 15:59:00.6453] Slim::Control::Queries::statusQuery (3817)
statusQuery(): setup non-zero player response
[22-11-22 15:59:00.6814] Slim::Control::Request::dump (2337) Request: Query
[00:04:20:12:34:56->status] from JSONRPC (Done)
...
[22-11-22 15:59:00.8660] Slim::Control::Request::executeDone (1919) 0
[22-11-22 15:59:00.8798] Slim::Control::Request::notify (2011) Notifying stop
[22-11-22 15:59:00.8920] Slim::Control::Request::notify (2049) Notifying
Slim::Web::Cometd::__ANON__ of stop =~ [[]]
[22-11-22 15:59:00.8950] Slim::Web::Cometd::requestCallback (935)
requestCallback got results for /c205f7ee/slim/playerprefs/00:04:20:12:34:56 /
2006
[22-11-22 15:59:00.9114] Slim::Control::Request::renderAsArray (2231) Error:
request should set useIxHashes in Slim::Control::Request->new()
[22-11-22 15:59:00.9149] Slim::Control::Request::renderAsArray (2231)
Backtrace:
[22-11-22 15:59:00.9261] Slim::Control::Request::notify (2049) Notifying
Slim::Web::Cometd::__ANON__ of stop =~ [[]]
[22-11-22 15:59:00.9356] Slim::Web::Cometd::requestCallback (935)
requestCallback got results for /c205f7ee/slim/playerprefs/00:04:20:12:34:56 /
1970
[22-11-22 15:59:00.9454] Slim::Control::Request::renderAsArray (2231) Error:
request should set useIxHashes in Slim::Control::Request->new()
[22-11-22 15:59:00.9555] Slim::Control::Request::renderAsArray (2231)
Backtrace:
[22-11-22 15:59:00.9589] Slim::Control::Request::notify (2049) Notifying
Slim::Web::Cometd::__ANON__ of stop =~ [[]]
[22-11-22 15:59:00.9619] Slim::Control::Request::notify (2049) Notifying
Slim::Web::Cometd::__ANON__ of stop =~ [[]]
[22-11-22 15:59:00.9763] Slim::Control::Request::notify (2049) Notifying
Slim::Utils::Alarm::_alarmEnd of stop =~ [['pause','stop','power']]
[22-11-22 15:59:00.9794] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd
called with request: stop
[22-11-22 15:59:00.9855] Slim::Utils::Alarm::_alarmEnd (1980) stop requested
by '/c205f7ee/slim/playerprefs/00:04:20:12:34:56|1970||c205f7ee|Mozilla/5.0
(X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0'
[22-11-22 15:59:00.9925] Slim::Utils::Alarm::_alarmEnd (1993) Stopping alarm
[22-11-22 15:59:00.9966] Slim::Control::Request::__updateListenerSuperRE
(2438) updated listener superRE:
(?^:prefset|playlist|rescan|client|notification|favorites|changed|menustatus|library)
[22-11-22 15:59:00.9995] Slim::Control::Request::unsubscribe (824) Request
from: Slim::Utils::Alarm::_alarmEnd - (36 listeners)
--------------------
It is likely that the unsubscribe-subscribe sequence triggers some
initialization routine that calls for _alarmEnd which was okay when
ALARM was the only subscriber as we could use what Philippe refers to as
spaghetti to block this unwanted call but now fails because of
additional subscribers.
There does appear to be an option for more spaghetti though. Monitoring
the requests I see the following variations:
- Alarm stopped by remote client issuing a poweroff:
Code:
--------------------
[22-11-22 14:39:43.6799] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd
called with request: power
[22-11-22 14:39:43.6819] Slim::Utils::Alarm::_alarmEnd (1980) stop
requested by 'JSONRPC'
--------------------
- Alarm stopped on the SB device:
Code:
--------------------
[22-11-22 21:07:00.1938][22-11-22 17:01:44.4157]
Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: pause
[22-11-22 17:01:44.4178] Slim::Utils::Alarm::_alarmEnd (1980) stop
requested by
'/338b2cbb/slim/request|649||338b2cbb|SqueezePlay-baby/8.0.1-r16907 (armv5tejl)'
--------------------
- Alarm stopped by Material client:
Code:
--------------------
[22-11-22 21:15:00.2292] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd
called with request: stop
[22-11-22 21:15:00.2320] Slim::Utils::Alarm::_alarmEnd (1980) stop
requested by
'/6972f215/slim/playerprefs/00:04:20:12:34:56|1323||6972f215|Mozilla/5.0
(Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0'
--------------------
Note the substring 'playerprefs' - I'm pretty sure if you add that to
the _alarmEnd ignore list next to 'ALARM' this will fix it.
------------------------------------------------------------------------
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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta