2011-09-21, 17:10
Newest nightly, still same problem. Some shows show, some dont. I cant find a common factor between them all.
<control type="label">
<posx>0</posx>
<posy>115</posy>
<height>13</height>
<width>200</width>
<font>Font_Reg17</font>
<textcolor>white</textcolor>
<label fallback="312577">$INFO[ListItem.Duration,, $LOCALIZE[12391]]</label>
<visible>SubString(ListItem.PercentPlayed,0,left)</visible>
</control>
<control type="label">
<posx>0</posx>
<posy>115</posy>
<height>13</height>
<width>200</width>
<font>Font_Reg17</font>
<textcolor>white</textcolor>
<label fallback="312577">$INFO[ListItem.Duration,, $LOCALIZE[12391]][COLOR abFFFFFF]$INFO[ListItem.PercentPlayed, (,%)][/COLOR]</label>
<visible>!SubString(ListItem.PercentPlayed,0,left)</visible>
</control>
<control type="label">
<posx>0</posx>
<posy>115</posy>
<height>13</height>
<width>200</width>
<font>Font_Reg17</font>
<textcolor>white</textcolor>
<label fallback="312577">$INFO[ListItem.Duration,, $LOCALIZE[12391]]</label>
<visible>!ListItem.IsResumable</visible>
</control>
<control type="label">
<posx>0</posx>
<posy>115</posy>
<height>13</height>
<width>200</width>
<font>Font_Reg17</font>
<textcolor>white</textcolor>
<label fallback="312577">$INFO[ListItem.Duration,, $LOCALIZE[12391]][COLOR abFFFFFF]$INFO[ListItem.PercentPlayed, (,%)][/COLOR]</label>
<visible>ListItem.IsResumable</visible>
</control>
<control type="image">
<visible>!ListItem.IsResumable</visible>
<posx>1r</posx>
<posy>44</posy>
<height>18</height>
<width>18</width>
<texture>$INFO[ListItem.Overlay]</texture>
<aspectratio>keep</aspectratio>
</control>
ronie Wrote:are you using this inside a list or outside?
no idea if it makes a difference, but it might explain why it works for some and doesn't for others...
pieh Wrote:@Big_Noid:This makes no sense to me, why add container if you don't specify the id? But if it works i don't mind I hate to use substring visibility's
You can use Container.ListItem.IsResumable (omitting ID is fine if You are in video/music/picture navigation window)