Author: bklaas
Date: Thu Feb 11 12:49:10 2010
New Revision: 8487
URL: http://svn.slimdevices.com/jive?rev=8487&view=rev
Log:
Fixed Bug: 15164
Description: a playlist size of 1 is not enough logic to determine if rew and
fwd are valid actions
it is valid for local playlists, but not remote ones (e.g., Napster Radio).
re-enable fwd and rew for these
Modified:
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
Modified:
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
URL:
http://svn.slimdevices.com/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua?rev=8487&r1=8486&r2=8487&view=diff
==============================================================================
---
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
(original)
+++
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
Thu Feb 11 12:49:10 2010
@@ -476,7 +476,9 @@
else
local playlistSize = self.player and
self.player:getPlaylistSize()
-- bug 15085, gray out buttons under certain circumstances
- if playlistSize == 1 then
+ -- bug 15164, don't remove rew and fwd for remote tracks,
because a single track playlist
+ -- is not an indication that fwd and rwd are invalid actions
+ if playlistSize == 1 and not self.player:isRemote() then
log:debug('set buttons for single track playlist')
-- single track playlist. if this track has no
duration, disable rew button
local elapsed, duration = self.player:getTrackElapsed()
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins