xbmcgui.Dialog().browse (fixed)

Requests, suggestions, support, and everything else python / plugin related.
Post Reply
User avatar
Rocky5
Posts: 974
Joined: Sat Feb 08, 2014 5:27 am
Has thanked: 101 times
Been thanked: 257 times

xbmcgui.Dialog().browse (fixed)

Post 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.
Last edited by Rocky5 on Sat Feb 22, 2014 8:54 pm, edited 1 time in total.
Download Xbox Softmodding Tool & Extras Disc
XBMC4Kids Mod


Xbox Gamertag = Connxtion
PSN ID = JCRocky5
User avatar
Dom DXecutioner
Posts: 585
Joined: Thu Jul 05, 2012 11:59 pm
Location: California
Has thanked: 249 times
Been thanked: 219 times
Contact:

Re: xbmcgui.Dialog().browse

Post 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?
Image
User avatar
Rocky5
Posts: 974
Joined: Sat Feb 08, 2014 5:27 am
Has thanked: 101 times
Been thanked: 257 times

Re: xbmcgui.Dialog().browse

Post 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
Download Xbox Softmodding Tool & Extras Disc
XBMC4Kids Mod


Xbox Gamertag = Connxtion
PSN ID = JCRocky5
User avatar
Dom DXecutioner
Posts: 585
Joined: Thu Jul 05, 2012 11:59 pm
Location: California
Has thanked: 249 times
Been thanked: 219 times
Contact:

Re: xbmcgui.Dialog().browse

Post 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 )
Image
User avatar
Rocky5
Posts: 974
Joined: Sat Feb 08, 2014 5:27 am
Has thanked: 101 times
Been thanked: 257 times

Re: xbmcgui.Dialog().browse

Post by Rocky5 »

Fixed it :D bloody Sources.xml from an older XBMC :evil:
Download Xbox Softmodding Tool & Extras Disc
XBMC4Kids Mod


Xbox Gamertag = Connxtion
PSN ID = JCRocky5
User avatar
Dom DXecutioner
Posts: 585
Joined: Thu Jul 05, 2012 11:59 pm
Location: California
Has thanked: 249 times
Been thanked: 219 times
Contact:

Re: xbmcgui.Dialog().browse

Post by Dom DXecutioner »

Nice! Any cool projects for the xbox? :)
Image
User avatar
Rocky5
Posts: 974
Joined: Sat Feb 08, 2014 5:27 am
Has thanked: 101 times
Been thanked: 257 times

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

Post by Rocky5 »

No skins, added Wifi to the Xbox, Noctua Fan & a new dvd drive (LG-8164b).

Just arsing about really.
Download Xbox Softmodding Tool & Extras Disc
XBMC4Kids Mod


Xbox Gamertag = Connxtion
PSN ID = JCRocky5
User avatar
Dom DXecutioner
Posts: 585
Joined: Thu Jul 05, 2012 11:59 pm
Location: California
Has thanked: 249 times
Been thanked: 219 times
Contact:

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

Post by Dom DXecutioner »

Fair enough... have fun! :D
Image
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

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

Post by NOTTHESAME »

thanks for the fix guys :)
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

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

Post 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
Post Reply