Kodi Community Forum

Full Version: TV show Rating on season level possible?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Would like to show the TV show Rating (the scraped one) on seasonlevel, is this possible in any way?

Regards.
Sure, I do something similar ...

On the Tv show level, you need an invisible button that stores whatever info you want into window properties, and then on season/episode level you just read those properties out.

Button inside focuseditem list/panel on show level:
Code:
<control type="button">
    <left>0</left>
    <top>0</top>
    <width>1</width>
    <height>1</height>
    <label></label>
    <texturenofocus></texturenofocus>
    <texturefocus></texturefocus>
    <onfocus condition="Container.Content(tvshows)">SetProperty(TVshowRating,"$INFO[ListItem.Rating]")</onfocus>
</control>

Then to read back that property on the season/episode level:
Code:
<control type="label">
    <top>10</top>
    <left>10</left>
    <width>auto</width>
    <height>40</height>
    <font>xp25</font>
    <textcolor>bbFFFFFF</textcolor>
    <label>$INFO[Window(videos).property(TVshowRating)]</label>
    <align>left</align>
</control>