Author: bklaas
Date: Sun Jun  5 09:19:41 2011
New Revision: 9445

URL: http://svn.slimdevices.com/jive?rev=9445&view=rev
Log:
Bug: n/a
Description: It was possible get to 
SlimBrowserApplet::notify_playerPlaylistChange without _emptyStep being set, 
This would mean that the playlist change was ignored and so we don't push into 
nowPlaying. 
Allow _goNowPlaying() to be called in the absence of emptyStep

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=9445&r1=9444&r2=9445&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
 Sun Jun  5 09:19:41 2011
@@ -3656,12 +3656,12 @@
 
                return
        -- make sure we have step.window replace emptyStep.window when there 
are tracks and emptyStep exists
-       elseif playlistSize and emptyStep then
+       elseif playlistSize then
                -- only move into NowPlaying if screensaver is allowed
                if Window:getTopNonTransientWindow():canActivateScreensaver() 
then
                        _goNowPlaying(nil, true)
                end
-               if emptyStep.window then
+               if emptyStep and emptyStep.window then
                        emptyStep.window:hide()
                end
                _emptyStep = nil

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins

Reply via email to