Kodi Community Forum

Full Version: French rating flags
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
@+
Added - thx!
thx,
but you made a error of commits you deleted the last line </variable>
Not delete, it is after last line. Doesn't look good, but is fully functional.
Corrected anyway.
Oups BlushBig Grin
to be deleted.