2014-01-19, 13:08
Hello
I try to Show the Duration of a random item.
My Problem is; i couldn't get it to Work. Hope someone Here can Help.
Here's the Code for The Thumbnail:
and here my List items:
i also try it with: "ListItem.Duration" with no Luck.
Dont knew what's wrong. Hope someone can Tell me where i do the Mistake.
Thanks in Advanced.
I try to Show the Duration of a random item.
My Problem is; i couldn't get it to Work. Hope someone Here can Help.
Here's the Code for The Thumbnail:
PHP Code:
<control type="label">
<description>Title label</description>
<posx>585</posx>
<posy>158</posy>
<height>30</height>
<width>475</width>
<label>[COLOR blue]Runtime:[/COLOR] $INFO[ListItem.Property(Runtime)] </label>
<align>left</align>
<aligny>center</aligny>
<font>font12</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<scroll>true</scroll>
<visible>Control.HasFocus(9101) + Container(9000).Hasfocus(8)</visible>
</control>
......
and here my List items:
PHP Code:
<!-- Start Musicvideo Items -->
<item>
<label>$INFO[Window.Property(RandomMusicVideo.10.Title)]</label>
<label2>$INFO[Window.Property(RandomMusicVideo.10.Plot)]</label2>
<onclick>PlayMedia($ESCINFO[Window.Property(RandomMusicVideo.10.Path)])</onclick>
<icon>$INFO[Window.Property(RandomMusicVideo.10.Thumb)]</icon>
<thumb>-</thumb>
<property name="Fanart">$INFO[Window.Property(RandomMusicVideo.10.Fanart)]</property>
<property name="Year">$INFO[Window.Property(RandomMusicVideo.10.Year)]</property>
<property name="Runtime">$INFO[Window.Property(RandomMusicVideo.10.RunningTime)]</property>
<property name="Rating">$INFO[Window.Property(RandomMusicVideo.10.Rating)]</property>
<visible>!IsEmpty(Window.Property(RandomMusicVideo.10.Title)) + Container(9000).Hasfocus(8)</visible>
</item>
<item>
<label>$INFO[Window.Property(RandomMusicVideo.9.Title)]</label>
<label2>$INFO[Window.Property(RandomMusicVideo.9.Plot)]</label2>
<onclick>PlayMedia($ESCINFO[Window.Property(RandomMusicVideo.9.Path)])</onclick>
<icon>$INFO[Window.Property(RandomMusicVideo.9.Thumb)]</icon>
<thumb>-</thumb>
<property name="Fanart">$INFO[Window.Property(RandomMusicVideo.9.Fanart)]</property>
<property name="Year">$INFO[Window.Property(RandomMusicVideo.9.Year)]</property>
<property name="Runtime">$INFO[Window.Property(RandomMusicVideo.9.RunningTime)]</property>
<property name="Rating">$INFO[Window.Property(RandomMusicVideo.9.Rating)]</property>
<visible>!IsEmpty(Window.Property(RandomMusicVideo.9.Title)) + Container(9000).Hasfocus(8)</visible>
</item>
<item>
<label>$INFO[Window.Property(RandomMusicVideo.8.Title)]</label>
<label2>$INFO[Window.Property(RandomMusicVideo.8.Plot)]</label2>
<onclick>PlayMedia($ESCINFO[Window.Property(RandomMusicVideo.8.Path)])</onclick>
<icon>$INFO[Window.Property(RandomMusicVideo.8.Thumb)]</icon>
<thumb>-</thumb>
.....
i also try it with: "ListItem.Duration" with no Luck.
Dont knew what's wrong. Hope someone can Tell me where i do the Mistake.
Thanks in Advanced.