Show rating of movies in media flags!

Hello Everyone,

I was annoyed by the fact that there was no way to see the IMDB rating of a movie without having to order them by rating. I like to order my movies by title, but I also wan’t to see the IMDB rating. I saw this question popping by multiple times on this forum, so I started looking into the code. I found a solution to show the score like this:
[Image: Se4d_Bg.jpg]

As you can see in the bottom right corner, left to the quality, it now shows the rating of a movie! Unfortunately, I was unable to add the text “Rating” or what so ever.
Here’s what you have to do to get the rating if you have installed Kodi on a PC:
1. Open the includes.xml file located in C:\Program Files (x86)\Kodi\addons\skin.estuary\xml\ or C:\Program Files\Kodi\addons\skin.estuary\xml\ depending on your OS.
2. Edit this file with Notepad (or Notepad++)
3. Go to line 414 (just after this:

Code:
            <include content="MediaFlag">
                <param name="texture" value="$INFO[ListItem.AudioChannels,flags/audiochannel/,.png]" />
                <param name="visible" value="!String.IsEmpty(ListItem.AudioChannels)" />
            </include>
            <include content="MediaFlag">
                <param name="texture" value="$INFO[ListItem.AudioCodec,flags/audiocodec/,.png]" />
                <param name="visible" value="!String.IsEmpty(ListItem.AudioCodec)" />
            </include>

and insert the following code after that:

Code:
            <control type="group">
                <width>115</width>
                <visible>!String.IsEmpty(ListItem.Rating)</visible>
                <control type="label">
                    <width>115</width>
                    <height>60</height>
                    <align>center</align>
                    <aligny>center</aligny>
                    <label>$INFO[ListItem.Rating]</label>
                    <font>font_flag</font>
                </control>
                <include content="MediaFlag">
                    <param name="texture" value="flags/flag.png" />
                </include>
            </control>

Restart Kodi and this should do the trick!
It would be very nice if the developer(s) of the skin would add this option by default Smile