Kodi Community Forum
Target of Items from a path - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Target of Items from a path (/showthread.php?tid=311894)



Target of Items from a path - baza_dwa - 2017-04-09

I am displaying a list with path (fe. musicdb://) as contents. What is the property that allows to determine what is the path of an element of such list (fe. musicdb://songs/ or something defined with Library Node Editor)? I've looked at ListItem $INFOs - but cannot see it there.

The idea is to add <onclick> for the list in order to open MyMusicNav window already with the selected scope.


RE: Target of Items from a path - badaas - 2017-04-09

http://kodi.wiki/view/Opening_Windows_and_Dialogs
http://kodi.wiki/view/List_of_Built_In_Functions


RE: Target of Items from a path - baza_dwa - 2017-04-10

Are you sure you understood the question?

To add to my original post - every ListItem.*path* points to some physical path, not db path.


RE: Target of Items from a path - baza_dwa - 2017-04-10

Oh, hurray, FolderPath works :/

No, I haven't inferred it from the description - "Shows the complete path of the currently selected song or movie in a container (without user details)." - I've just tried every property with Path in name in turn....