xbmcgui.Dialog().browse() with fixed location?
#1
Hello to all!!!

I have this piece of code:

ret = xbmcgui.Dialog().browse(1, 'Select the File(s) to Import', '', '.xml', enableMultiple = True)

this will open a window dialog, and let me select some file, but it aways open in the root of my computer, showing the drives and etc.

Is there a way to mahe this window dialog open in a specific folder?

Thanks in advance!
Reply
#2
it should be possible by using the defaultt keyword (note the double t is intentional)
see: https://xbmc.github.io/docs.kodi.tv/mast...710eac1b83
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
xbmcgui.Dialog().browse() with fixed location?0