(2015-08-29, 18:24)braz Wrote: Might be other issues, but for one thing the condition needs to be "!IsEmpty..."
already tried that before... didn't work..
do episodes have blank value for genre?
Code:
<value condition="IsEmpty(Container(510).ListItem.Genre)">test</value>
Returns "test" on the skin when i focus on the episodes in Home panel
here's the complete code:
Code:
<control type="group" id="601">
<!-- Painel Em Progresso/Painel de detalhes -->
<visible>[Control.IsVisible(602) | Control.IsVisible(603) | Control.HasFocus(510) | Control.HasFocus(5100)] + ![Skin.HasSetting(submode) | Window.IsActive(5099)]</visible>
.
.
.
.
<control type="label">
<!-- Genero -->
<posx>462</posx>
<posy>185</posy>
<width>463</width>
<height>20</height>
<align>left</align>
<textcolor>FFFFFAF0</textcolor>
<font>Font_16</font>
<label>$VAR[Widget_Genre]</label>
<scroll>true</scroll>
<scrollout>false</scrollout>
</control>
Code:
<variable name="Widget_Genre">
<value condition="!IsEmpty(Container(510).ListItem.Genre)">$INFO[Container(510).ListItem.Genre]</value>
</variable>
Ok just read the wiki.. it's true, it doesn't support episodes yet
Quote:ListItem.Genre Shows the genre of the currently selected song, album or movie in a container
Any workaround for this?