Need Help with IntegerGreaterThan(info,number)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
scoochie Offline
Junior Member
Posts: 13
Joined: Jan 2010
Reputation: 0
Post: #1
I'm trying to show a video only if it's a trailer. So I figured if the duration of a video is more than a certain time (since trailers usually are less than 3 minutes)..it won't show the videowindow.

I'm having trouble with the syntax...what would be the correct way of specifyign this. I was reading the wiki and found this:


IntegerGreaterThan(info,number)
Returns true if the value of the infolabel is greater than the supplied number.
Example:
IntegerGreaterThan(ListItem.Year,2000)



So In my case what would it be?

I tried:

IntegerGreaterThan(Videoplayer.Duration,3) and it doesn't work. I also tried all sorts of varitations.

IntegerGreaterThan(Videoplayer.Duration,180000)
IntegerGreaterThan(Videoplayer.Duration,00:03:00)
which dont seem right at all.

Please help...thanks!
find quote