2013-12-15, 18:19
(2013-12-15, 18:14)Maniac Wrote: Of course, that explains why I am not getting any value there. My pvr addon does not support that property.
Is there a way to check if the property exists or has a value before I use it? So that i can replace it with something else.
sure, there's a few ways to do that.
the easiest would just to specify a fallback:
Code:
<label fallback="blablabla">$INFO[Window(Home).Property(PVR_NextMinutes)]</label>
or add an additional label control that's only visible when the property is empty:
Code:
<control type="label>
.....
<label>blablabla</label>
<visible>IsEmpty(Window(Home).Property(PVR_NextMinutes))</visible>
</control>