@
Shredder_guitar
OK, I've done a quick test and was able to reproduce the mpaa error and hopefully solve it. The second set of instructions latts gave you are correct but I'm guessing you only applied the fix to the first instance of the line in question, however, there are at least three lines that I found that are very similar and all should be changed.
Here's what you need to do. In the Variables.xml:
First, find line 521 (give or take). It should look like:
xml:
<value condition="String.IsEqual(ListItem.Mpaa,Rated PG) | String.IsEqual(ListItem.Mpaa,Rated: PG) | String.IsEqual(ListItem.Mpaa,PG) | String.IsEqual(ListItem.Mpaa,US:PG | String.IsEqual(ListItem.Mpaa,US: PG) | String.IsEqual(ListItem.Mpaa,US: Rated PG">flags/mpaa_2/white/rated pg.png</value>
Change it to:
xml:
<value condition="String.IsEqual(ListItem.Mpaa,Rated PG) | String.IsEqual(ListItem.Mpaa,Rated: PG) | String.IsEqual(ListItem.Mpaa,PG) | String.IsEqual(ListItem.Mpaa,US:PG | String.IsEqual(ListItem.Mpaa,US: PG) | String.IsEqual(ListItem.Mpaa,US: Rated PG | String.IsEqual(ListItem.Mpaa,US: PG / US: Rated PG) | String.IsEqual(ListItem.Mpaa,US: PG / US: Rated PG)">flags/mpaa_2/white/rated pg.png</value>
Second, find line 593 (give or take). It should look like:
xml:
<value condition="String.IsEqual(ListItem.Mpaa,Rated PG) | String.IsEqual(ListItem.Mpaa,Rated: PG) | String.IsEqual(ListItem.Mpaa,PG) | String.IsEqual(ListItem.Mpaa,US:PG) | String.IsEqual(ListItem.Mpaa,US: PG) | String.IsEqual(ListItem.Mpaa,US: Rated PG)">flags/mpaa_2/colored/pg.png</value>
Change it to:
xml:
<value condition="String.IsEqual(ListItem.Mpaa,Rated PG) | String.IsEqual(ListItem.Mpaa,Rated: PG) | String.IsEqual(ListItem.Mpaa,PG) | String.IsEqual(ListItem.Mpaa,US:PG) | String.IsEqual(ListItem.Mpaa,US: PG) | String.IsEqual(ListItem.Mpaa,US: Rated PG) | String.IsEqual(ListItem.Mpaa,US: PG / US: Rated PG)">flags/mpaa_2/colored/pg.png</value>
Third, find line 1670 (or there about). It should read:
xml:
<value condition="String.IsEqual(ListItem.Mpaa,Rated PG) | String.IsEqual(ListItem.Mpaa,Rated: PG) | String.IsEqual(ListItem.Mpaa,PG) | String.IsEqual(ListItem.Mpaa,USPG) | String.IsEqual(ListItem.Mpaa,US:PG) | String.IsEqual(ListItem.Mpaa,US: PG) | String.IsEqual(ListItem.Mpaa,US: Rated PG">$VAR[mpaa_path]MPAA_PG_Certificate_US.png</value>
Change it to:
xml:
<value condition="String.IsEqual(ListItem.Mpaa,Rated PG) | String.IsEqual(ListItem.Mpaa,Rated: PG) | String.IsEqual(ListItem.Mpaa,PG) | String.IsEqual(ListItem.Mpaa,USPG) | String.IsEqual(ListItem.Mpaa,US:PG) | String.IsEqual(ListItem.Mpaa,US: PG) | String.IsEqual(ListItem.Mpaa,US: Rated PG) | String.IsEqual(ListItem.Mpaa,US: PG / US: Rated PG)">$VAR[mpaa_path]MPAA_PG_Certificate_US.png</value>
If you are curious and want to know why a nfo with
<mpaa>US:R / US:Rated R</mpaa> works but
<mpaa>US: PG / US: Rated PG</mpaa> doesn't, it is because the R rating string has
String.Contains whereas the PG has
String.IsEqual. The reason for this is that there are other countries that have ratings containing PG and it causes conflicts thus the PG mpaa tag must match exactly with one of the values in the skin's xml.
Let us know if that works so latts can add the fix to the next update?
I really hoped we had all the flag/tag conflicts fixed but I never imagined I would ever see multiple mpaa tags in a nfo file. This is first for me.
Personally, I use Media Companion to scrape and write my nfo files. It has a steep learning curve but it allows for extremely fine control over how you would like your nfo formatted along with your art and actors. Unfortunately it only handles video but not music.