Author: ayoung
Date: Tue Sep 20 07:50:27 2011
New Revision: 9533
URL: http://svn.slimdevices.com/jive?rev=9533&view=rev
Log:
Re-add the isPoweron check to the relevant condition.
Modified:
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
Modified:
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
URL:
http://svn.slimdevices.com/jive/7.6/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua?rev=9533&r1=9532&r2=9533&view=diff
==============================================================================
---
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
(original)
+++
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
Tue Sep 20 07:50:27 2011
@@ -3664,7 +3664,7 @@
-- Bug 17529: Only push to NowPlaying if the playlist now has size, and
an emptyStep window currently exists
-- in other words, we're moving from an empty playlist (special case NP
window that says "Nothing") to a non-empty playlist
-- so in this case only, we need to explicitly push to NowPlaying and
remove the emptyStep window
- elseif playlistSize and emptyStep and emptyStep.window then
+ elseif _player:isPowerOn() and playlistSize and emptyStep and
emptyStep.window then
-- only move into NowPlaying if screensaver is allowed
if Window:getTopNonTransientWindow():canActivateScreensaver()
then
_goNowPlaying(nil, true)
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins