Kodi Community Forum
Infolabel changes in Frodo - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Infolabel changes in Frodo (/showthread.php?tid=152862)

Pages: 1 2


Infolabel changes in Frodo - Eldorado - 2013-01-21

I'm looking for information on changes to Infolabels in Frodo, is there a list of what was changed?

So far I'm finding in the Confluence skin the following infolabels no longer working as they did in Eden, running Frodo RC3:


Watched status
- I used to just set 'overlay' to 6 or 7, now it appears the only way to get it to show is by setting the 'playcount' > 0

There is another thread where someone said they got it to work by using a boolean 'watch' and 'unwatched' label, but this is not working for me


Cast - Previously I would send in a tuple, now nothing shows and I can't find if there's a format change required


thanks!


RE: Infolabel changes in Frodo - fightnight - 2013-01-21

I use this:

Code:
if overlay==6:
              playcount=0
else:
              playcount=1
liz.setInfo( type="Video", infoLabels={ "Title": name, "overlay":overlay, "playcount":playcount} )



RE: Infolabel changes in Frodo - Eldorado - 2013-01-21

Yes, that is what I did for the watched status as I noted above.. though overlay doesn't seem to be needed anymore

Mainly I would like to know about Cast as I can't figure out it's possible new format


RE: Infolabel changes in Frodo - Eldorado - 2013-01-25

Bump! No one knows the new format for Cast?


RE: Infolabel changes in Frodo - jmarshall - 2013-01-26

By the looks of the code, support for cast has (temporarily, though I guess not so much from your perspective considering Frodo is coming out soon) been removed.

Hopefully it'll be re-added in Frodo+1.

Cheers,
Jonathan


RE: Infolabel changes in Frodo - Eldorado - 2013-01-26

Well that kind of sucks

Any idea to why it was disabled?

While your in there, any chance of finding the one true infolabel for watched status? Smile

'overlay ' used to be the standard, but changed somewhere in between beta releases, I'm using 'playcount' now


RE: Infolabel changes in Frodo - hippojay - 2013-01-28

My experiences reflect yours. XBMC now tries to set the various overlays internally, based on the listitem data. This overrides the overlay set with the listitem.

'Playcount' will determine whether an items is watched or not.

If you want a partial/resumable status, you need to ensure that the 'totaltime' and 'resumetime' items are also set:

Code:
liz.setProperty('TotalTime', '1200' )
liz.setProperty('ResumeTime', '300' )

This will alow XBMC to set the "IsResumable" property which will display the partial flag for the various skins (where the skin supports this)


RE: Infolabel changes in Frodo - jmarshall - 2013-01-28

Yup, XBMC determines overlay usage based on playcount etc.

The cast stuff is currently commented out with a TODO statement. It was because it was a dynamic type (it could be a list of tuples or a list of listitems I think?) which the codegen magic didn't like. Unfortunately this wasn't brought up in time for Frodo final, however I'll endeavour to make sure it's done for any bugfix release to follow.

Cheers,
Jonathan


RE: Infolabel changes in Frodo - Eldorado - 2013-01-28

Good to know at the least, thanks!


RE: Infolabel changes in Frodo - jfcarroll - 2013-01-29

Sorry. That was a dumb over site on my part. I forgot to go back to it and fix it. It will be fixed in 12.1


RE: Infolabel changes in Frodo - Eldorado - 2013-04-10

Any chance of the fix for cast to get into 12.2? As far as I can see it's not in 12.1

thanks!


RE: Infolabel changes in Frodo - Eldorado - 2013-04-16

Bumping again for a 12.2 fix! Smile


RE: Infolabel changes in Frodo - fightnight - 2013-04-26

Don't forget this please Smile


RE: Infolabel changes in Frodo - Eldorado - 2013-10-28

Bump.. just wondering if this one got noticed in recent Gotham development?


RE: Infolabel changes in Frodo - ronie - 2013-10-29

create a ticket of trac and cc jfcarroll on the ticket please.