Page 1 of 1

xbmcgui.Dialog().browse (fixed)

Posted: Thu Feb 20, 2014 10:23 pm
by Rocky5
Anyone get this to show more the a SMB Share, X, Y & Z partitions :-/

Code: Select all

xbmcgui.Dialog().browse(0,"Select Dir","files")
the latter doesn't show all partitions.

Ok I'm using the beta 2 & tried the latest nightly downloaded using the plugin. It would seem its an XBMC error, it does it with all file dialogs.

Re: xbmcgui.Dialog().browse

Posted: Sat Feb 22, 2014 4:02 am
by Dom DXecutioner
Rocky5 wrote:Anyone get this to show more the a SMB Share, X, Y & Z partitions :-/
can you elaborate on this a bit further? Apologies, however, I'm not sure I fully understand the question... Also, have you tried this on mainline xbmc, if so, does the same behavior exists?

Re: xbmcgui.Dialog().browse

Posted: Sat Feb 22, 2014 3:32 pm
by Rocky5
When you run a Script with xbmcgui.Dialog().browse(0,"Select Dir","files") in it, it's meant to show all available partitions (drive letters, ie, C, E, F eg...) but it only shows the Cache partitions X, Y, Z & SMB share.

I haven't tried the main steam one. (I guess you mean the stable release version.)

Worked on a build from 2008 :-P thats how long it had been since this xbox was used.

Image

Re: xbmcgui.Dialog().browse

Posted: Sat Feb 22, 2014 8:30 pm
by Dom DXecutioner
the following seems to work properly using r32663:

Code: Select all

import xbmcgui

# object
__dialog = xbmcgui.Dialog()
# open browse dialog
path = __dialog.browse( 0, "XBMC Script", "files", "", False, False )

Re: xbmcgui.Dialog().browse

Posted: Sat Feb 22, 2014 8:50 pm
by Rocky5
Fixed it :D bloody Sources.xml from an older XBMC :evil:

Re: xbmcgui.Dialog().browse

Posted: Sat Feb 22, 2014 8:51 pm
by Dom DXecutioner
Nice! Any cool projects for the xbox? :)

Re: xbmcgui.Dialog().browse (fixed)

Posted: Sat Feb 22, 2014 8:55 pm
by Rocky5
No skins, added Wifi to the Xbox, Noctua Fan & a new dvd drive (LG-8164b).

Just arsing about really.

Re: xbmcgui.Dialog().browse (fixed)

Posted: Sat Feb 22, 2014 9:00 pm
by Dom DXecutioner
Fair enough... have fun! :D

Re: xbmcgui.Dialog().browse (fixed)

Posted: Sun May 25, 2014 2:09 am
by NOTTHESAME
thanks for the fix guys :)

Re: xbmcgui.Dialog().browse (fixed)

Posted: Mon May 26, 2014 2:41 am
by Dan Dar3
Quick reference to Python docs, might get handy next time (teach a man to fish...)
http://www.xbmc4xbox.org.uk/wiki/Python_Development
http://mirrors.xbmc.org/docs/python-doc ... tml#Dialog