Kodi Community Forum

Full Version: estuary Mpaa Ratings HOW TO add Rating images (only works if movie has mpaa rating)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
first create images
Image Image Image Image Image
ImageImageImageImageImage

Rated G.png
Rated NR.png
Rated PG.png
Rated PG-13.png
Rated R.png
i am using images from http://www.classification.gov.au/Pages/Home.aspx

in \AppData\Roaming\Kodi\addons\skin.estuary\extras
create new folder mpaa

now edit Includes.xml find
xml:
<include content="MediaFlag">
      <param name="texture" value="flags/flag.png" />
     </include>

and after </control>add
xml:
<include content="MediaFlag">
     <param name="texture" value="$INFO[$PARAM[infolabel_prefix]ListItem.Mpaa,special://skin/extras/Mpaa/,.png]" />
     <param name="visible" value="!String.IsEmpty($PARAM[infolabel_prefix]ListItem.Mpaa)" />
    </include>
Image
ALSO WORKS WITH TV
Image
Image
Image
Image
I see 81 "flags/" in includes.xml but no "flags/flags.png".
Where do add the new include in this case?
media\flags this is in the xbt file

there is a resource pack for kodi now resource.images.classificationicons.colour
xml:
<include content="MediaFlag">
     <param name="texture" value="$INFO[$PARAM[infolabel_prefix]ListItem.Mpaa,resource://resource.images.classificationicons.colou/,.png]" />
     <param name="visible" value="!String.IsEmpty($PARAM[infolabel_prefix]ListItem.Mpaa)" />
    </include>