Empty menus doesn't seem to be handled the same way in "onebrowser" and
trunk, at least not in SqueezePlay interface.

In trunk I get an "Empty" element but in onebrowser I get the following
error message in SqueezePlay and an empty screen. It's probably not a
big issue, I'm just mentioning it since I saw the error in the
SqueezePlay log during plugin development.

To reproduce the problem without any third party stuff, you can use the
"Music Folder" menu and browse into a directory where SBS don't have
read permission to any of the files. 


Code:
--------------------
    
  20110413 06:50:35.115 ERROR  net.http - RequestHttp.lua:70 Response 
sink:...ay/build/linux/share/jive/applets/SlimBrowser/DB.lua:183: chunk must 
have item_loop field if count>0
  stack traceback:
        [C 0x811a500]: in function '_assert'
        ...ay/build/linux/share/jive/applets/SlimBrowser/DB.lua:183: in 
function 'menuItems'
        ...share/jive/applets/SlimBrowser/SlimBrowserApplet.lua:385: in 
function '_stepSetMenuItems'
        ...share/jive/applets/SlimBrowser/SlimBrowserApplet.lua:1278: in 
function 'sink'
        ...share/jive/applets/SlimBrowser/SlimBrowserApplet.lua:
  
--------------------


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=85895

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to