2019-07-06, 19:27
Im hoping to figure out if I can get a list of all the
I've figured out that I can retrieve a JSON response with the various information about each item, using the following code, for example:
But using this approach, I need to set each of the items
Is there any way to retrieve the actual
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:
python: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
InfoLabel
s, 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
ListItem
s themselves?