Aeon Madnox for Krypton / Jarvis - (no longer in development)
Hi Mike, Hi schimi2k,

I was always annoyed in Shednox that the MPAA description which is available in the movie/Show info windows through the option ("Enable MPAA rating description") was kind of broken.
As far as i understand, the way it is implemented retrieve ListItem.mpaa which isn't a description as it is the MPAA rating of the currently selected movie.

So if you don't mind to change this I modified DialogVideoInfo.xml and variables.xml to get a proper description. I grabbed them from Wikipedia for the available ratings existing in Madnox (I didn't made the Hungarian and what looks like Korean though).

In DialogVideoInfo.xml just replace these lines (start at 2399)

Code:
<control type="label">
    <left>825</left>
    <top>1046</top>
    <width>950</width>
    <label fallback="This movie is Unrated.">$INFO[ListItem.mpaa]</label>
    <font>Font_Reg22</font>
    <textcolor>$VAR[FontColorVar]</textcolor>
    <scroll>true</scroll>
    <haspath>true</haspath>
    <visible>!ControlGroup(6100).HasFocus</visible>
    <visible>Skin.HasSetting(ExtendedMpaa)</visible>
</control>

by these ones (I had to create a new variable and expand the width of the label)

Code:
<control type="label">
    <left>825</left>
    <top>1046</top>
    <width>1040</width>
    <label fallback="This movie is Unrated.">$VAR[RatingFlagVar_Description]</label>
    <font>Font_Reg22</font>
    <textcolor>$VAR[FontColorVar]</textcolor>
    <scroll>true</scroll>
    <haspath>true</haspath>
    <visible>!ControlGroup(6100).HasFocus</visible>
    <visible>Skin.HasSetting(ExtendedMpaa)</visible>
</control>

And in variables.xml just add these lines (under the RatingFlagVar variable seems to be the obvious place)

Code:
<variable name="RatingFlagVar_Description">
        <value condition="substring(ListItem.mpaa,TV-G)">Most parents would find this program suitable for all ages.</value>
        <value condition="substring(ListItem.mpaa,TV-PG)">This program contains material that parents may find unsuitable for younger children.</value>
        <value condition="substring(ListItem.mpaa,TV-14)">This program contains some material that many parents would find unsuitable for children under 14 years of age.</value>
        <value condition="substring(ListItem.mpaa,TV-MA)">This program is specifically designed to be viewed by adults and therefore may be unsuitable for children under 17.</value>
        <value condition="substring(ListItem.mpaa,TV-Y7)">This program is designed for children age 7 and above.</value>
        <value condition="substring(ListItem.mpaa,TV-Y)">This program is designed to be appropriate for all children.</value>
        
        <value condition="SubString(ListItem.mpaa,US:G)">General audiences. All ages admitted.</value>
        <value condition="SubString(ListItem.mpaa,PG-13)">Parents strongly cautioned. Some material may be inappropriate for children under 13.</value>
        <value condition="Substring(ListItem.mpaa,Rated PG)">Parental guidance suggested. Some material may not be suitable for children.</value>
        <value condition="SubString(ListItem.mpaa,US:R)">Restricted. Under 17 requires accompanying parent or adult guardian.</value>
        <value condition="SubString(ListItem.mpaa,US:NC-17)">Adults only. No One 17 and Under Admitted.</value>
        
        <value condition="SubString(ListItem.mpaa,UK:U)">Suitable for all.</value>
        <value condition="SubString(ListItem.mpaa,UK:PG)">General viewing, but some scenes may be unsuitable for young children.</value>
        <value condition="SubString(ListItem.mpaa,UK:12A)">Cinema release suitable for 12 years and over.</value>
        <value condition="SubString(ListItem.mpaa,UK:12)">Video release suitable for 12 years and over.</value>
        <value condition="SubString(ListItem.mpaa,UK:15)">Suitable only for 15 years and over.</value>
        <value condition="SubString(ListItem.mpaa,UK:18)">Suitable only for adults.</value>
        
        <value condition="SubString(ListItem.mpaa,Germany:6)">Freigegeben ab 6 jahren.</value>
        <value condition="SubString(ListItem.mpaa,Germany:12)">Freigegeben ab 12 jahren.</value>
        <value condition="SubString(ListItem.mpaa,Germany:16)">Freigegeben ab 16 jahren.</value>
        <value condition="SubString(ListItem.mpaa,Germany:18)">Keine jugendfreigabe.</value>
        <value condition="SubString(ListItem.mpaa,Germany)">Ohne altersbeschränkung.</value>
        
        <value condition="substring(ListItem.mpaa,France:U)">Tous publics.</value>
        <value condition="substring(ListItem.mpaa,France:-10)">Déconseillé aux moins de 10 ans.</value>
        <value condition="substring(ListItem.mpaa,France:-12)">Déconseillé aux moins de 12 ans.</value>
        <value condition="substring(ListItem.mpaa,France:-16)">Déconseillé aux moins de 16 ans.</value>
        <value condition="substring(ListItem.mpaa,France:-18)">Déconseillé aux moins de 18 ans.</value>
        
        <value condition="substring(ListItem.mpaa,Brazil:Livre)">Livre.</value>
        <value condition="substring(ListItem.mpaa,Brazil:10">Não recomendado para menores de dez anos.</value>
        <value condition="substring(ListItem.mpaa,Brazil:12)">Não recomendado para menores de doze anos.</value>
        <value condition="substring(ListItem.mpaa,Brazil:14)">Não recomendado para menores de catorze anos.</value>
        <value condition="substring(ListItem.mpaa,Brazil:16)">Não recomendado para menores de dezesseis anos.</value>
        <value condition="substring(ListItem.mpaa,Brazil:18)">Não recomendado para menores de dezoito anos.</value>
        
        <value condition="substring(ListItem.mpaa,Rated X)">Rated X.</value>
    </variable>

Thanks


Messages In This Thread
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:08
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:08
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:09
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:09
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:10
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:10
MADNOX FAQ - by schimi2k - 2015-06-29, 17:11
MADNOX HELP - by schimi2k - 2015-06-29, 17:12
RE: Aeon Madnox - Beta Release - by schimi2k - 2015-06-29, 17:12
RE: Aeon Madnox - Beta Release (for Isengard) - by Namoi - 2015-07-28, 11:53
refresh item - by bill1972 - 2016-03-08, 03:31
Keyboard Autocompletion - by JinNJuice - 2016-03-19, 00:26
System Infoline - by reksp13 - 2016-04-09, 05:20
https://imageshack.com/my/images - by spook61 - 2016-04-14, 17:55
https://imageshack.com/my/images - by spook61 - 2016-04-14, 18:01
Leia - Madnox Problems - by Picard - 2017-06-22, 04:15
VideoLyrics - by Pr.Sinister - 2018-04-05, 23:40
Logout Mark Read Team Forum Stats Members Help
Aeon Madnox for Krypton / Jarvis - (no longer in development)39