2012-03-10, 08:20
Anyone wanting to add an X Rated media flag to their library add the following code in MediaFlags.xml in your 720p folder:
add
under
then add
under
and finally add
under
You will need to create a MPAA_X_Certificate_US.png image file (easy if you have Adobe Fireworks or the like). If not I will upload and post up a link if requested.
Cheers!
add
Quote:<value condition="substring(ListItem.Mpaa,Rated X) | substring(ListItem.Mpaa,Rated: X) | substring(Container(8000).ListItem.Mpaa,Rated X) | substring(Container(8000).ListItem.Mpaa,Rated: X)">flags/rating/MPAA_X_Certificate_US.png</value>
under
Quote:<value condition="substring(ListItem.Mpaa,Rated R) | substring(ListItem.Mpaa,Rated: R) | substring(Container(8000).ListItem.Mpaa,Rated R) | substring(Container(8000).ListItem.Mpaa,Rated: R)">flags/rating/MPAA_R_Certificate_US.png</value>
then add
Quote:<value condition="substring(Videoplayer.Mpaa,Rated X) | substring(Videoplayer.Mpaa,Rated: X)">flags/rating/MPAA_X_Certificate_US.png</value>
under
Quote:<value condition="substring(Videoplayer.Mpaa,Rated R) | substring(Videoplayer.Mpaa,Rated: R)">flags/rating/MPAA_R_Certificate_US.png</value>
and finally add
Quote:<value condition="substring(ListItem.Mpaa,Rated X) | substring(ListItem.Mpaa,Rated: X)">flags/rating/MPAA_X_Certificate_US.png</value>
under
Quote:<value condition="substring(ListItem.Mpaa,Rated R) | substring(ListItem.Mpaa,Rated: R)">flags/rating/mpaa_restricted.png</value>
You will need to create a MPAA_X_Certificate_US.png image file (easy if you have Adobe Fireworks or the like). If not I will upload and post up a link if requested.
Cheers!