Populate actor list in a custom view with python getActors()
#1
Hi,

How can I use the python getActors() function to define the <content> of a panel control ?

I know how to call a python script, but I can't find how getActors() function can be called linked with ListItem.DBID.

Currently, I use this :
<content limit="10">plugin://script.embuary.helper?info=getcast&type=movie&dbid=$INFO[ListItem.DBID]</content>

This is working, however, I find this script too slow for what I need. I was hoping that getActors() retrieves data directly from the library database.

Thanks
Reply
#2
You can't.

getActors() is a method of InfoTagVideo which can only be retrieved from a ListItem class object. Only ListItem objects created within your own script are accessible via this interface. You cannot retrieve a ListItem from a library view container that is external to your plugin.
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#3
too bad,

Thanks Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Populate actor list in a custom view with python getActors()0