Kodi Community Forum

Full Version: Showing ratings on the Estuary song list view
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I made a wiki tutorial for editing Estuary for beginners and this was my project:

Image

http://kodi.wiki/view/Estuary_Modification

So if any skilled skinners want to take a look at suggest any improvements then please do Smile

Ideally I would like it to show 5 graphical stars (and half stars) instead of the plain yellow text.

I would also like to know how to only show the label if the rating is more > than 0

This is the current code I added, its very simple so far but does the job.

Code:
<!-- Custom rating add -->
        <control type="label">
            <left>80</left>
            <height>80</height>
            <right>125</right>
            <align>right</align>
            <aligny>center</aligny>
            <label>$INFO[ListItem.UserRating]</label>
            <textcolor>yellow</textcolor>
            <shadowcolor>text_shadow</shadowcolor>
        </control>
Worked it out myself, or I should rather say I borrowed the code from Aeon Nox Wink

Image

Image

Code:
    <!-- Custom rating add stars-->
        <control type="image">
            <left>900</left>
            <height>40</height>
            <right>0</right>
            <top>21</top>
            <align>right</align>
            <aligny>center</aligny>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[ListItem.UserRating,flags/starrating/,.png]</texture>
            <!--    <visible>!ListItem.IsParentFolder + String.IsEmpty(ListItem.UserRating)</visible> -->
        </control>