Using label returns in condtions
#1
Hi All,

I am wondering if this is possible... It doesnt seem to work.

<visible>System.Time(ListItem.StartTime)</visible>

The wiki says the following.

System.Time(startTime,endTime)
Returns true if the current system time is >= startTime and < endTime. endTime is optional. Time must be specified in the format HH:mm, using a 24 hour clock.

ListItem.StartTime
Start time of current selected TV programme in a list or thumb control

Thanks
Reply
#2
Hi, I have tried this and could not get it to work either.

A year ago I was trying to find a way to mark the tv-shows currently on the air with another color in the live-tv timeline EPG. Could this be used to achieve that?

/Marcus
Reply
#3
It's used with two set times -

Code:
<visible>System.Time(03:00,09:00)</visible>

What you want is -

Code:
<visible>StringCompare(ListItem.StartTime,System.Time(hh:mm))</visible>
Reply
#4
That doesn't work, it just return true if the system time is the same as the list item start time. What I want is to find out if the system time is between the start time and the end time of the list item in the EPG.

It seems to me that System.Time(startTime,endTime) would do that but the condition <visible>System.Time(ListItem.StartTime,ListItem.EndTime)</visible> does not work.
Reply
#5
Because you can't use info labels in there.
Reply
#6
Ok I kind of suspected that, thanks Hitcher for enlighten me!

I guess it is not possible to achieve what I'm after in an other way? If not could this perhaps be implemented in any way? I'm kind of missing this visual aid when looking at the EPG, it really helps out guiding your eyes to what is currently on the air.
Reply
#7
Thats the reason why I wanted it.

What is the best way to request this feature if its not available.
Reply
#8
Post a request thread in here.
Reply

Logout Mark Read Team Forum Stats Members Help
Using label returns in condtions0