2012-05-21, 23:40
(2012-05-21, 16:03)phil65 Wrote:Thanks for this, worked a charm with a little tinkering. Had to remove "video" from "VideoRatingFlagVar", but other than that its great. Here's my entry if anyone interested:(2012-05-21, 15:50)chrisvilla Wrote:(2012-05-21, 15:27)frodo19 Wrote: So, you can not put these just inside /flags/rating , but inside : /flags/rating/info folder too.
Yeh I've done that. So that when I click for the movie info I get a coloured mpaa flag at the top.
But what I'm looking for is a bit of code to make the mpaa flagg appear on the dvd cover in tri-panel view as shown in my screenshot that I mocked up:
By chrisvilla
you need something like this
inside groups 5202/5203 in viewtype_tripanel.xmlCode:<control type="image">
<description>Rating flags</description>
<posx>xxx</posx>
<posy>xxx</posy>
<animation effect="fade" time="250">VisibleChange</animation>
<width>xxx</width>
<height>xxx</height>
<aspectratio align="center">keep</aspectratio>
<texture fallback="flags/rating/MPAA_NR_Certificate_US.png">$VAR[VideoRatingFlagVar,flags/rating/,.png]</texture>
<visible>Container.Content(movies)</visible>
</control>
Code:
<control type="image">
<description>Rating flags</description>
<posx>405</posx>
<posy>685</posy>
<animation effect="fade" time="250">VisibleChange</animation>
<height>48</height>
<aspectratio align="center">keep</aspectratio>
<texture fallback="flags/rating/MPAA_NR_Certificate_US.png">$VAR[RatingFlagVar,flags/rating/,.png]</texture>
<visible>Container.Content(movies)</visible>
</control>