Author: titmuss
Date: Mon Feb 4 15:35:50 2008
New Revision: 1804
URL: http://svn.slimdevices.com?rev=1804&root=Jive&view=rev
Log:
[EMAIL PROTECTED] (orig r1794): titmuss | 2008-02-04 23:10:46 +0000
Bug: 6934
Description:
Playlists > 200 items did not always load correctly, and the playlist screen
would always be empty.
Modified:
trunk/ (props changed)
trunk/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua
Propchange: trunk/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Mon Feb 4 15:35:50 2008
@@ -1,3 +1,3 @@
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1793
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1794
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378
Modified: trunk/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua
URL:
http://svn.slimdevices.com/trunk/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua?rev=1804&root=Jive&r1=1803&r2=1804&view=diff
==============================================================================
--- trunk/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua (original)
+++ trunk/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua Mon Feb 4
15:35:50 2008
@@ -174,7 +174,7 @@
cFrom = chunk["offset"] + 1
cTo = cFrom + #chunk["item_loop"] - 1
end
-
+
-- store chunk
local key = math.modf(cFrom / BLOCK_SIZE)
self.store[key] = chunk["item_loop"]
@@ -228,7 +228,7 @@
end
-- load first chunk
- if not self.last_chunk then
+ if not self.store[0] then
return 0, BLOCK_SIZE
end
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins