Kodi Community Forum

Full Version: Listing nodes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How does one list the available custom nodes?
And then in a way that the user can <onclick> set it as skin.string, for use in f.e. a main menu item?
The vfsath is library://video/

I dunno if you can specify this via skin.setpath though.
I meant how do i list them to the user?
Looking for something like: $INFO[ListItem.FileName,library://video/,.xml]
To return all the filenames in that folder.

And then i'd have to somehow give them an <onclick> like:
Skin.SetPath(User_Chosen_Node,.xml,library://video/)
To use in the main menu like:
XBMC.ActivateWindow(Videos,$INFO[Skin.Path(User_Chosen_Node)],return)

I was looking for a way to let the user set the default node to be used for movies.