Get ListInfo for selected item from script
#1
I am working on a script that interacts with files in the video library and would like to grab the ListItem object for the currently selected video.

Do I need to create a new instance of a WindowXML object? Is there a global variable or method I can use to get at this object? Is there a relationship between xbmcgui.getCurrentWindowId and the ListItem?

Thanks for the help!
Reply
#2
Ok let me try this from another angle - if I have the filename of the selected video is it possible to build a ListItem object via API calls?
Reply

Logout Mark Read Team Forum Stats Members Help
Get ListInfo for selected item from script0