2006-10-12, 18:28
Hi !
I need to use the Dialog.browse xbmcgui function and would like some more features. I had a look in the xbmcgui python doc and saw :
Does anybody can tell me what can be set in the 'extra' parameter ?
I need the browse function for files and I would like to be able to filter files extensions.
I would like to be able to start the browser in a path and not only at the root, is it possible ?
This is the command I use :
- 1 is for file selecting
- "prompt" is to prompt user
- "files" is to enable ALL files (not only pic files or videos files)
thanks for any help
PS:
I need the Dialog.numeric as well. The online help from thor918 is not clear enough about 'type' parameter. Where can I get more infos ?
I need to use the Dialog.browse xbmcgui function and would like some more features. I had a look in the xbmcgui python doc and saw :
Code:
browse(type,heading, shares[, extra]) -- Show a dialog 'Browse'.
type : interger value
heading : string or unicode string
shares : string or unicode string
extra : (optional) string value
returns String to the location when user pressed 'OK'
I need the browse function for files and I would like to be able to filter files extensions.
I would like to be able to start the browser in a path and not only at the root, is it possible ?
This is the command I use :
Code:
xbmcgui.Dialog().browse(1,"prompt","files")
- "prompt" is to prompt user
- "files" is to enable ALL files (not only pic files or videos files)
thanks for any help
PS:
I need the Dialog.numeric as well. The online help from thor918 is not clear enough about 'type' parameter. Where can I get more infos ?