How to Show MPAA/Certification?
#16
(2021-09-13, 11:02)djvj Wrote: This seems like the most basic info out there but I can't figure out how to show this on this skin? It's on every other skin, but not the default one! As a parent, this is required so I know if it's safe to show my kid a movie or not.

I'm well aware about smart playlists, and this is not what I want.


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

    <control type="group">
                    <width>115</width>
                <visible>!String.IsEmpty($PARAM[infolabel_prefix]ListItem.MPAA)</visible>
                    <control type="label">
                        <width>155</width>
                        <height>60</height>
                        <align>center</align>
                        <aligny>center</aligny>
                        <label>$INFO[$PARAM[infolabel_prefix]ListItem.MPAA]</label>
                        <font>font_flag</font>
                    </control>
                    <include content="MediaFlag">
                        <param name="texture" value="flags/flag.png" />
                    </include>
                </control>
images are a bit harder as you need images for all versions of the ratting some are rated and some are just the rating
create a folder in skin extras 
  Mpaa and save images

add this to  
<include content="MediaFlag">
                    <param name="texture" value="" />
                    <param name="visible" value="" />
                </include>
any line after  </include>
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>

this is just the rating of r
Image

this would need an image of rated r
Image
Reply

Logout Mark Read Team Forum Stats Members Help
How to Show MPAA/Certification?0