Get ListItems from directory?
#1
Im hoping to figure out if I can get a list of all the ListItem objects in a directory, through Python code.

I've figured out that I can retrieve a JSON response with the various information about each item, using the following code, for example:

xbmc.executeJSONRPC('{"jsonrpc":"2.0","id":1,"method":"Files.GetDirectory","params":{{"directory":"video://movies/titles","media":"video"}}')

But using this approach, I need to set each of the items InfoLabels, art, and other metadata manually, which is far less general of a solution than I'd like.

Is there any way to retrieve the actual ListItems themselves?
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Get ListItems from directory?00