2011-01-08, 21:20
Hi I was trying to do a little mod to make it so when you focus an episode thats currently playing in the episode list, instead of its episode thumbnail you get a little videowindow. I thought it'd be simple but I'm having some trouble with ListItem.IsPlaying, maybe I misunderstood its description in the wiki:
Without the visible clause it appears for every episode, playing or not. With it, it never appears. It seems like listitem.isplaying always returns false? or am I using it wrong?
Thanks for reading.
Quote:ListItem.IsPlaying - Returns whether the current ListItem.* info labels and images are currently Playing mediaI thought that should make it only appear if the focused episode is playing, but it doesn't work, I'm adding this to the views focusedlayout section:
Code:
<control type="videowindow">
<posx>13</posx>
<posy>13</posy>
<width>253</width>
<height>139</height>
<animation type="Focus" reversible="false">
<effect type="zoom" center="127,70" start="50" end="100" time="200" tween="cubic" easing="out" />
</animation>
[b] <visible>ListItem.IsPlaying</visible>[/b]
</control>
Thanks for reading.