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.
how to use xbmcgui.Dialog().browse()
alanckl
Junior Member Posts: 16 Joined: Oct 2005 Reputation: 0 |
2006-06-28 16:56
Post: #1
|
| find quote |
Nuka1195
Skilled Python Coder Posts: 3,938 Joined: Dec 2004 Reputation: 17 |
2006-06-28 19:31
Post: #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 |
| find quote |
alanckl
Junior Member Posts: 16 Joined: Oct 2005 Reputation: 0 |
2006-06-28 20:56
Post: #3
thanks a lot!!!
i'll try that again.
|
| find quote |

Search
Help