2014-12-07, 19:31
(2014-12-07, 16:14)Hitcher Wrote: [ -> ](2014-12-05, 01:48)phil65 Wrote: [ -> ]Is there a way to run this in the background?(2014-12-04, 23:16)Hitcher Wrote: [ -> ]How are you doing this without multiple actor API hits then?
Sorry for all the questions I'm just trying to get an idea of how it works before I commit to coding.
MovieDB API returns actor name, actor id, actor role etc as separate labels. xbmc / kodi merges those when shown inside dialogvideoinfo. I think I didnt´ turn off my script debug logging yet, so you probably can see the whole JSON answer in xbmc debug log.
And even withoug the movieDB API, it´s not too hard to split labels in python.
EDIT: bit more explicit: MovieDB API returns actor name, actor id, actor role etc as separate labels for every actor on any movie info call, but not the biography and also not the filmography. those need separate API calls.
and just for info: Both movie info dialog and actor info dialog basically only need one JSON call to get all the info (because of the great MovieDB API, it´s by far the best out there.)
Movie Info Dialog only does a second one if the movie is part of a set.
I'm trying to use it so I can just set properties for actors and roles from the list (id=50) for use in dialogvideoinfo. Unless it's possible using python to separate the labels provided in the dialogvideoinfo cast list into actor and role which would also mean it could be used for tv shows as well?
Thanks.
Not sure what you mean exactly? What do you want to run in the background?
I do not deal with anything in DialogvideoInfo.xml at all, i completely pulll all info from TheMovieDB.