2010-07-25, 23:27
Just playing around with this concept:
Now I can get it to sort of work, the episode shows and I can click to watch:
My code is:
But I have to manually type in the show name to match - substring(ListItem.Label,psych). Is there anyway I could get the substring matching to be more automatic?
Now I can get it to sort of work, the episode shows and I can click to watch:
My code is:
PHP Code:
<control type="group">
<visible>substring(ListItem.Label,psych)</visible>
<control type="button" id="16374">
<onleft>52</onleft>
<onright>52</onright>
<onup>52</onup>
<ondown>52</ondown>
<label></label>
<onclick>PlayMedia($INFO[Window(Home).Property(LatestEpisode.1.Path)])</onclick>
<visible allowhiddenfocus="true">false</visible>
</control>
<control type="label">
<posx>1000</posx>
<posy>500</posy>
<width>570</width>
<height>50</height>
<aligny>center</aligny>
<font>Font_TVShow</font>
<textcolor>ff67ffff</textcolor>
<label>$INFO[Window(Home).Property(LatestEpisode.1.ShowTitle)]</label>
</control>
<control type="image">
<posx>1000</posx>
<posy>560</posy>
<width>200</width>
<height>100</height>
<texture>$INFO[Window(Home).Property(LatestEpisode.1.Thumb)]</texture>
</control>
</control>
But I have to manually type in the show name to match - substring(ListItem.Label,psych). Is there anyway I could get the substring matching to be more automatic?