2019-12-24, 05:11
(2019-12-22, 21:09)chrissix Wrote: <!-- IMDb top 250 movies-->Hey @"chrissix" I don't know if you saw my previous post but I managed to update the condition for movies but I can't figure it out for tv shows. Can you give me an example like you did for movies like you sho
<control type="image">
<!-- IMDb top 250 Logo-->
<left>855</left>
<top>602</top>
<height>75</height>
<aspectratio align="left">keep</aspectratio>
<texture>flags/ratingimages/imdbtop250.png</texture>
<!-- <visible>!String.IsEmpty(ListItem.Top250) + !Integer.IsEqual(ListItem.Top250,0)</visible>-->
<visible>!Skin.HasSetting(detail_info)</visible>
<animation effect="slide" start="0,450" end="0,0" time="500" tween="sine" easing="out">WindowOpen</animation>
<animation effect="slide" start="0,450" end="0,0" time="500" tween="sine" easing="out">Visible</animation>
<animation effect="slide" start="0,0" end="0,450" time="500" tween="sine" easing="in">Hidden</animation>
<visible>Container.Content(movies)</visible>
</control>
<control type="label">
<!-- IMDb top 250 number -->
<left>940</left>
<top>587</top>
<height>100</height>
<width>100</width>
<aspectratio>keep</aspectratio>
<align>center</align>
<font>Font_18A</font>
<label fallback="19055">#$INFO[ListItem.Top250]</label>
<visible>!String.IsEmpty(ListItem.Top250) + !Integer.IsEqual(ListItem.Top250,0)</visible>
<visible>!Skin.HasSetting(detail_info)</visible>
<animation effect="slide" start="0,450" end="0,0" time="500" tween="sine" easing="out">WindowOpen</animation>
<animation effect="slide" start="0,450" end="0,0" time="500" tween="sine" easing="out">Visible</animation>
<animation effect="slide" start="0,0" end="0,450" time="500" tween="sine" easing="in">Hidden</animation>
<visible>Container.Content(movies)</visible>
</control>
<control type="label">
<!-- IMDb top 250 number fallback -->
<left>942</left>
<top>590</top>
<height>100</height>
<width>100</width>
<aspectratio>keep</aspectratio>
<align>center</align>
<font>Font_18A</font>
<label>NO</label>
<visible>String.IsEmpty(ListItem.Top250) + Integer.IsEqual(ListItem.Top250,0)</visible>
<visible>!Skin.HasSetting(detail_info)</visible>
<animation effect="slide" start="0,450" end="0,0" time="500" tween="sine" easing="out">WindowOpen</animation>
<animation effect="slide" start="0,450" end="0,0" time="500" tween="sine" easing="out">Visible</animation>
<animation effect="slide" start="0,0" end="0,450" time="500" tween="sine" easing="in">Hidden</animation>
<visible>Container.Content(movies)</visible>
</control>
sure, just add a visible condition in the imdb 250 code!
movies: <visible>!String.IsEmpty(ListItem.Top250) + !Integer.IsEqual(ListItem.Top250,0)</visible>
tvshows: <visible>!String.IsEmpty(Window(Home).Property(SkinHelper.ListItem.IMDB.Top250)) + !Integer.IsEqual(Window(Home).Property(SkinHelper.ListItem.IMDB.Top250),0)</visible>
If you have no idea what i am talking about you have try to get into the basics of skinning .xml -> Skinning_Manual (wiki)