How to use xbmcgui.Dialog.browse to browse inside a special:// path
#1
Does anybody know if it's possible to use xbmcgui.Dialog.browse to browse inside a special:// path, for example I can browse the file system using :-

python:
xbmcgui.Dialog().browseSingle(2, 'Kodi', 'files', '', True, False, '')

But how can I browse the special://screenshots directory, the following doesn't work:-

python:
xbmcgui.Dialog().browseSingle(2, 'Kodi', 'special://screenshots', '', True, False, '')
Reply
#2
Use xbmc.translatePath to transfer special to normal path, i.e:

mypath = xbmc.translatePath("special://temp/")
Reply
#3
Unfortunately while that will return the full path to a special:// the Dialog().browse methods wont accept a path as the source argument, it only accepts a "real" kodi source name ie. files, pictures, video and so on. So unless I've already set up a source that points to the special://screenshots location then I can't see anyway to get the Dialog().browse to open at that default location Sad
Reply

Logout Mark Read Team Forum Stats Members Help
How to use xbmcgui.Dialog.browse to browse inside a special:// path0