Kodi Community Forum
French rating flags - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Aeon Nox: Silvo (https://forum.kodi.tv/forumdisplay.php?fid=142)
+---- Thread: French rating flags (/showthread.php?tid=115615)



French rating flags - Rififi77 - 2011-11-27

Hi,
attached a code and logos for french rating.

Code:
<value condition="substring(ListItem.mpaa,France:U) | substring(ListItem.mpaa,partir de 3 ans) | substring(ListItem.mpaa,partir de 6 ans)">csaU</value>
    <value condition="substring(ListItem.mpaa,France:-10) | substring(ListItem.mpaa,Interdit aux moins de 10 ans) | substring(ListItem.mpaa,des propos ou des images peuvent heurter)">csa10</value>
    <value condition="substring(ListItem.mpaa,France:-12) | substring(ListItem.mpaa,Interdit aux moins de 12 ans)">csa12</value>
    <value condition="substring(ListItem.mpaa,France:-16) | substring(ListItem.mpaa,Interdit aux moins de 16 ans)">csa16</value>
    <value condition="substring(ListItem.mpaa,France:-18) | substring(ListItem.mpaa,Interdit aux moins de 18 ans)">csa18</value>

Code:
<value condition="substring(VideoPlayer.mpaa,France:U) | substring(VideoPlayer.mpaa,partir de 3 ans) | substring(VideoPlayer.mpaa,partir de 6 ans)">csaU</value>
    <value condition="substring(VideoPlayer.mpaa,France:-10) | substring(VideoPlayer.mpaa,Interdit aux moins de 10 ans) | substring(VideoPlayer.mpaa,des propos ou des images peuvent heurter)">csa10</value>
    <value condition="substring(VideoPlayer.mpaa,France:-12) | substring(VideoPlayer.mpaa,Interdit aux moins de 12 ans)">csa12</value>
    <value condition="substring(VideoPlayer.mpaa,France:-16) | substring(VideoPlayer.mpaa,Interdit aux moins de 16 ans)">csa16</value>
    <value condition="substring(VideoPlayer.mpaa,France:-18) | substring(VideoPlayer.mpaa,Interdit aux moins de 18 ans)">csa18</value>

rating.rar Logos by Maxoo
@+


- BigNoid - 2011-11-27

Added - thx!


- Rififi77 - 2011-11-27

thx,
but you made a error of commits you deleted the last line </variable>


- BigNoid - 2011-11-27

Not delete, it is after last line. Doesn't look good, but is fully functional.
Corrected anyway.


- Rififi77 - 2011-11-27

Oups BlushBig Grin


- Maxoo - 2011-11-28

to be deleted.


This forum uses Lukasz Tkacz MyBB addons.