2019-03-09, 19:22
Just starting on the journey in skinning - I've tried searching the forum, but couldn't see the answer to my question.
Im on Leia and skinning the Estuary.
Basically, I would like an IMDB icon to be a part of my media flags - i.e. to appear at the bottom of the screen when a movie / tv show is selected.
I am planning on doing this by altering the Includes.xml
So far, I have duplicated RatingCircle and renamed it RatingCircleBottom. I've got the rating to display just next to duration by including
My next step is adding the IMDB image to the section. I have the image in my skin folder customnameskin/media/sausage/imdb.png
I tried creating another <include name="imdbicon"> and then creating another <control type="group"><include content="imdbicon"> just before the code above.
However, no go.
Tried also including the imdb icon in the following way
That hasn't worked either.
I wonder whether I am missing something? I can see the texture files (interestingly, I have renamed them and removed them from the folder and haven't noticed any difference).
Any thoughts?
Im on Leia and skinning the Estuary.
Basically, I would like an IMDB icon to be a part of my media flags - i.e. to appear at the bottom of the screen when a movie / tv show is selected.
I am planning on doing this by altering the Includes.xml
So far, I have duplicated RatingCircle and renamed it RatingCircleBottom. I've got the rating to display just next to duration by including
in the MediaFlags section.xml:<control type="group">
<top>10</top>
<width>60</width>
<align>left</align>
<aligny>center</aligny>
<include content="RatingCircleBottom">
</include>
</control>
My next step is adding the IMDB image to the section. I have the image in my skin folder customnameskin/media/sausage/imdb.png
I tried creating another <include name="imdbicon"> and then creating another <control type="group"><include content="imdbicon"> just before the code above.
xml:<include name="imdbicon">
<control type="image">
<left>3</left>
<top>-3</top>
<align>center</align>
<aligny>center</aligny>
<width>44</width>
<height>44</height>
<texture>sausage/imdb.png</texture>
</control>
</include>
However, no go.
Tried also including the imdb icon in the following way
xml:<include name="UserRatingContentBottom">
`<visible>!String.IsEmpty($PARAM[infolabel])</visible>
<control type="image">
<left>3</left>
<top>-3</top>
<width>44</width>
<height>44</height>
<aspectratio>keep</aspectratio>
<texture colordiffuse="button_focus">special://skin/media/sausage/imdb.png</texture>
</control>
<control type="label">
<left>3</left>
<top>-3</top>
<align>center</align>
<aligny>center</aligny>
<width>44</width>
<height>44</height>
<font>font20_title</font>
<label>$INFO[$PARAM[infolabel]]</label>
</control>
` </include>`
That hasn't worked either.
I wonder whether I am missing something? I can see the texture files (interestingly, I have renamed them and removed them from the folder and haven't noticed any difference).
Any thoughts?