Invoking file manager
#1
Hi,

How do I invoke the integrated file manager? Can someone give me a example?

Thank you in advance,

Dennis
XBMScript - Easy installation for Ubuntu Jaunty Jackalope (9.04)
Installing XBMC on Ubuntu can't get easier than this!
Before posting error/feature questions regarding XBMScript, read THIS
Run as root. Don't be a pussy
Reply
#2
xbmc.executebuiltin('activatewindow(filemanager)')
Reply
#3
Awesome, thanks spiff!
XBMScript - Easy installation for Ubuntu Jaunty Jackalope (9.04)
Installing XBMC on Ubuntu can't get easier than this!
Before posting error/feature questions regarding XBMScript, read THIS
Run as root. Don't be a pussy
Reply
#4
I was able to get Filemanager open to a specific path using the below
Code:
xbmc.executebuiltin("ActivateWindow(FileManager,%s)" % "D:\somepath")

But how to point to a "special" path?Specifically am trying to access the video playlists dir in a platform independent way. I thought the below would work but it did not

Code:
xbmc.executebuiltin("ActivateWindow(FileManager,%s)" % "special://profile/playlists/video/")

Alternatively is there a common constant/API to retrieve the userdata dir in a platform independent way so I can form the path and pass it on (instead of d:\somepath above)
Reply
#5
xbmc.translatePath()
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
#6
Thanks! works great
Reply

Logout Mark Read Team Forum Stats Members Help
Invoking file manager0