Seems to me that your question is badly formulated.
Reading your second post in this thread I think that it is your
objective for the Radio to boot into standby mode rather than showing
the menu and depending on settings even playing music. I can relate to
that as it is also one of my annoyances to sometimes find the Radio on
when returning from a holiday.
The following commit is probably of interest to you:
Code:
--------------------
diff --git a/src/squeezeplay/share/applets/Playback/PlaybackMeta.lua
b/src/squeezeplay/share/applets/Playback/PlaybackMeta.lua
index d4c0018a1..6f8c01645 100644
--- a/src/squeezeplay/share/applets/Playback/PlaybackMeta.lua
+++ b/src/squeezeplay/share/applets/Playback/PlaybackMeta.lua
@@ -101,13 +101,9 @@ function configureApplet(meta)
end
--must defer this since skin isn't loaded yet
jiveMain:registerPostOnScreenInit( function()
- --always start on,
unless was unclean shutdown, then start up with saved state
- if
appletManager:callService("wasLastShutdownUnclean") then
- log:info("Last
shutdown was unclean, restarting with previous soft power state: ",
settings.powerState)
-
jiveMain:setSoftPowerState(settings.powerState)
- else
-
jiveMain:setSoftPowerState("on")
- end
+ --Bug 16593: always
start on, even if soft power state was off when shutdown
+ -- this is to avoid a
situation where a Radio powers up to a black screen (fallback whenOff SS when
clock is not set)
+
jiveMain:setSoftPowerState("on")
end)
-- Connect player
--------------------
Shamefully the original bug tracker is gone and so I'm not really sure
how the comment needs to be interpreted, i.e. whether the bug manifests
itself when you've set a different screensaver than clock, or when the
clock is at 1970-01-01. Either way you can try toggle the default state
to 'off' and see if the bug affects you.
------------------------------------------------------------------------
gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=115739
_______________________________________________
Radio mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/radio