Author: ayoung
Date: Wed Mar  3 00:02:42 2010
New Revision: 8619

URL: http://svn.slimdevices.com/jive?rev=8619&view=rev
Log:
Fixed bug 15815: Now Playing information can alternate 
previous-next-previous-next at track skip 
Keep the now-playing title show-briefly up longer to allow for delay in 
playerstatus update.
Increase the likelihood of a useful playerstatus update being delivered in a 
timely fashion if track start is slow.  

Modified:
    7.5/trunk/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua

Modified: 7.5/trunk/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua
URL: 
http://svn.slimdevices.com/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua?rev=8619&r1=8618&r2=8619&view=diff
==============================================================================
--- 7.5/trunk/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua (original)
+++ 7.5/trunk/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua Wed Mar  3 
00:02:42 2010
@@ -1344,7 +1344,13 @@
                        s.icon:setStyle(style)  
                        transitionOn = Window.transitionNone
                        transitionOff = Window.transitionNone
-                       duration = tonumber(display['duration'] or 1500)
+                       
+                       -- Bug 15815: We use a long default duration to try to 
ensure
+                       -- that this is still up when the new-track 
playerstatus eventually arrives
+                       -- so that we do not flip-flop between old and new 
track title.
+                       -- See also the delays programmed in 
Slim::Control::Queries::statusQuery_filter()
+                       duration = tonumber(display['duration'] or 3000)
+                       
                        -- icon-based showBrieflies only appear for IR
                        if not usingIR then
                                showMe = false

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

Reply via email to