how to use xbmcgui.Dialog().browse()
#1
hi all,

do you know how to use the new function xbmcgui.dialog().browse()? what should be pass for the integer parameter "type"?

when i call the function, i just got the systemerror like this. "systemerror: error return without exception set". is it a bug? please help.
Reply
#2
i'm currently going through the python docs and will submit a more helpful description.


import xbmcgui
dialog = xbmcgui.dialog()
dialog.browse(0,"title","myprograms")



(type,heading, shares[, extra])
type:
0 = showandgetdirectory
1 = showandgetfile
2 = showandgetimage
heading: your title
shares: from your sources.xml (use to be xboxmediacenter.xml)
<myprograms>
<video>
<music>
<pictures>
<files>

http://home.no.net/thor918/xbmc/xbmcgui.html#dialog
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#3
thanks a lot!!!

i'll try that again. Smile
Reply
#4
wrong place. sorry
Reply

Logout Mark Read Team Forum Stats Members Help
how to use xbmcgui.Dialog().browse()0