2019-08-25, 04:37
@bsoriano - You need to add the prop_id param to the actual list that you want the stats for, not the detailed item. That's where you are going wrong. You are getting either 1 or 0 because there is only one movie/tvshow/person in the detailed item list - the actual movie/tvshow/person that you are looking up the details for.
For instance, getting similar movies with:
I can then get the number of items in the similar list that are also in my library with:
I haven't tested, but you should be able to add it to the folderpath of the 9999 listitems:
I can't get totals for all lists because I don't know which lists will be used (whereas extended info forces you to use all its lists). I can only get the totals for individual lists.
For instance, getting similar movies with:
xml:plugin://plugin.video.themoviedb.helper/?info=similar&type=movie&imdb_id=$INFO[ListItem.IMDBNumber]&prop_id=SimilarMovies
I can then get the number of items in the similar list that are also in my library with:
xml:$INFO[Window(Home).Property(TMDbHelper.SimilarMovies.NumDBIDItems)]
I haven't tested, but you should be able to add it to the folderpath of the 9999 listitems:
xml:$INFO[Container(9999).ListItemAbsolute(1).FolderPath,,&prop_id=CastMovies]
I can't get totals for all lists because I don't know which lists will be used (whereas extended info forces you to use all its lists). I can only get the totals for individual lists.