Infolabel changes in Frodo
#16
Thanks, will do
Reply
#17
Looks like someone has already created a ticket for it - http://trac.xbmc.org/ticket/14546
Reply
#18
So based on this ticket it seems theres currently no way to pass in cast/role via python code. Had a few questions:

Noticed that in the DB it also stores the the thumb for the actors...could we expose a way to pass this via python too? e.g. castandroleandthumb

Also I wasn't able to figure out what format string to send to castandrole infolabel...can anyone provide an example?
Reply
#19
Hi all,

I've built an add-on which receives cast information for movies but setting the infolabels doesn't produce any information in xmbc.

I've installed the latest nightly build of Gotham. From reading various threads this was taken out of XBMC in Frodo and the ticket above says that the bug has been fixed.

Can anyone tell me what infolabels I need to set to get xbmc to show the cast/actor information please?

Thanks and any help is appreciated.
Reply
#20
You have to set cast info.

Example:

cast=['di caprio','morgan']
...
liz.setInfo( type="Video", infoLabels={ "Title": name,"cast":cast})
Reply
#21
(2014-03-05, 00:30)fightnight Wrote: You have to set cast info.

Example:

cast=['di caprio','morgan']
...
liz.setInfo( type="Video", infoLabels={ "Title": name,"cast":cast})

I can't get this to work, I don't get an error - I just can't see it in XBMC

I can apply a work around simply by setting the writer field which although not great, lets me see who the actors are.

Here's my code.

Code:
actors = actors.split(",")
            
            if (groupid is None):
                    title = title + "   (" + year + ")"
            else:
                    title = "Ep. " + episode + " " + title
            
            li = xbmcgui.ListItem(title, iconImage='DefaultVideo.png')
            li.setInfo('video', { 'genre': genre,
                              'year': year,
                              'rating': imdbrating,
                              'title': title,
                              'plot': plot,
                              'cast': actors,
                              'season' : season,
                              'episode' : episode,
                              'director': director} )
Reply
#22
As far as I can see, not looking at xbmc code but just by the results in addons, this hasn't made it into Gotham Beta 1..
Reply

Logout Mark Read Team Forum Stats Members Help
Infolabel changes in Frodo0