Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
#79
(2019-08-09, 23:37)jurialmunkey Wrote:
(2019-08-09, 13:59)bsoriano Wrote:
(2019-08-09, 01:13)jurialmunkey Wrote: Added.
ListItem.Director - added to if crew member job is "director"
ListItem.Writer - added to if crew member department is "writing"

@jurialmunkey, thank you, I almost have everything for the video info dialog when pressing i from a widget from your plugin. If is not too much to ask, could you add the tmdb id for each cast member? That way I could call your plugin to search for the person by tmdb id as the onclick for each. Thanks.

Regards,

Bart  

I can add it, but the detailed item plugin path provides any easier way:

Getting the Folder Path from the Detailed Item
The detailed item plugin path provides a series of items in the following order (these are now always ordered this way).
0. Detailed Item,
1. Cast,
2. Recommended,
3. Similar,
4. Crew,
5. Keywords,
6. Reviews

You can access these in content paths by using the folder path for that item.
For instance, if your detailed item hidden list control is ID="10051"

You can create a cast list like so:
<content>$INFO[Container(10051).ListItemAbsolute(1).FolderPath]</content>

You can do that for any of the above lists. Just change the number in ListItemAbsolute().
You can get the name of the list too:
<label>$INFO[Container(10051).ListItemAbsolute(1).Label]</label>  
@jurialmunkey, even better, thank you! Big Grin

So that's an easy way for me to display the cast, but what would happen when I click on any cast item? Since it is not the standard cast list (id 50), I need to provide a custom onclick.  How do I then access the detailed info for that person from a custom person dialog? Sorry if these are basic questions and I am overlooking the obvious.  Thank you for your help.

Regards,

Bart
Reply


Messages In This Thread
RE: TheMovieDB Helper - by jurialmunkey - 2019-07-31, 11:47
RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - by bsoriano - 2019-08-09, 23:54
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2