Release script.embuary.helper - a skin helper service / widgets alternative
#82
(2019-08-06, 23:48)sualfred Wrote: Jurialmunkey added a function for this:
https://forum.kodi.tv/showthread.php?tid...pid2874999

Edit:
But I'm not quite sure if he has added the field information that tmdb returns for searches based on a query.

@jurialmunkey 
Do you added the "known_for" information to this output? 
(see https://api.themoviedb.org/3/search/pers...dult=false)

Edit 2:
You also could get rid of my getcast method and replace it with a direct call with his addon. With this approach and some hidden containers you could build a more "x-ray" like feature. He also stores the tmdb_id information of the actors so calling Embuary Info is still supported.
Annoyingly, the API only exposes that info with the search call. It doesn't expose it in the detailed info for some reason.
Still, you can get it from the search call in the latest version: (replace ACTORNAME with appropriate infolabel)
xml:
plugin://plugin.video.themoviedb.helper/?info=search&type=person&query=ACTORNAME

You should be able to get from that container:
xml:
ListItem.Property(known_for)
ListItem.Property(known_for.1.title)
ListItem.Property(known_for.1.tmdb_type)
ListItem.Property(known_for.1.tmdb_id)

First property provides full concatenated list of all items with a "/" separator.
The others provide details for specific items.

The plugin path provides a list of all actors matching the query.
If you want to use it as a hidden list for details on known_for only, then you could just reference the first item with:
xml:
Container(ID).ListItemAbsolute(0).Property(known_for)

You could also pass the tmdb_id of the actor to another list to get Movies that they star in:
xml:
plugin://plugin.video.themoviedb.helper/?info=stars_in_movies&type=movie&tmdb_id=$INFO[Container(ID).ListItemAbsolute(0).Property(tmdb_id)]
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply


Messages In This Thread
RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - by jurialmunkey - 2019-08-07, 01:39
Logout Mark Read Team Forum Stats Members Help
script.embuary.helper - a skin helper service / widgets alternative3