directory help please...

Discussion and development of skins for XBMC4XBOX
Post Reply
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

directory help please...

Post by byron »

I've been wondering this for some time now, and I've never been able to find any kind of a solid source for the info. Does anyone out there know what these directories equate to as far as windows in xbmc?

Code: Select all

Substring(Container.FolderPath,videodb://1/,Left)
Substring(Container.FolderPath,videodb://2/,Left)
Substring(Container.FolderPath,videodb://3/,Left)
Substring(Container.FolderPath,videodb://4/,Left)
etc...
I guess what I don't understand is where they are pointing and if there is a wiki guide or forum post somewhere that tells us how these are used...
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: directory help please...

Post by Dan Dar3 »

Here are explained in mainline wiki:
http://wiki.xbmc.org/?title=Opening_Windows_and_Dialogs

and here's more about them in our wiki:
http://www.xbmc4xbox.org.uk/wiki/Openin ... nd_Dialogs

If you want to test them, you can do it through HTTP calls:

Code: Select all

http://10.0.0.30/xbmcCmds/xbmcHttp?command=ExecBuiltIn(ActivateWindow(videolibrary,videodb://1/))
or with Python:

Code: Select all

import xbmc
xbmc.executebuiltin( "ActivateWindow(videolibrary,videodb://1/)" )
I'm pretty sure ActivateWindow() is available as a skin action with similar parameters.
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: directory help please...

Post by byron »

Hey thanks...I knew I had run across that somewhere before but for the life of me couldn't remember how/where...much appreciated!
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: directory help please...

Post by Dan Dar3 »

Here's a trick that might help - if you are looking for something on a specific site, you can specify that in your Google query - the query below says look for videodb://1 as it is (notice double quotes) and on only on the site specified:
"videodb://1/" site:wiki.xbmc.org
or in our case:
"videodb://1/" site:xbmc4xbox.org.uk/wiki
PS: Interestingly, always thought the site parameter had to be the name or part of the name of the site, but it appears it allows for url paths too, interesting... we all learned something today :-)
Post Reply