Posts: 302
Joined: Jun 2009
Reputation:
3
How temmy it says isgreaterthan are only true or false.
You need no stringcompare.
Posts: 17,421
Joined: Aug 2007
Reputation:
590
Hitcher
Team-Kodi Member
Posts: 17,421
Well I'm not the only one who couldn't get it working so I'll post it on the Trac tomorrow as it appears to be broken.
Posts: 459
Joined: Jan 2007
Reputation:
10
2009-11-06, 00:38
(This post was last modified: 2009-11-06, 00:41 by watzen.)
the proper usage would be the ones that temmi wrote. However those do not work and there are some differences in the code that I had in my latest patch and the code that JM added to the svn. I really don't understand what those changes does. All I can say is that it worked for me with the code that I posted... at that time... with that svn-version.
I haven't had time to do any testing if my original patch would work with the current svn.
I'm not sure it will work with what you are trying, but I've tested the function with simple things and it doesn't work with those either.
Maybe someone else can shed some light onto this? the addition refers to the ticket #7007.
- Livingroom - C2D E8400, P5N7A-VM on a Samsung 46" LE46M86 FullHD via HDMI
- Kitchen - ASRock 330 HT Displayed on a Samsung Lapfit 22" dual touch screen LD220Z
- Bedroom - LG Laptop on a 32" tv
Posts: 459
Joined: Jan 2007
Reputation:
10
I think I found a problem...
else if (strTest.Left(18).Equals("integergreaterthan("))
should be
else if (strTest.Left(19).Equals("integergreaterthan("))
will try and report back...
- Livingroom - C2D E8400, P5N7A-VM on a Samsung 46" LE46M86 FullHD via HDMI
- Kitchen - ASRock 330 HT Displayed on a Samsung Lapfit 22" dual touch screen LD220Z
- Bedroom - LG Laptop on a 32" tv
Posts: 17,421
Joined: Aug 2007
Reputation:
590
Hitcher
Team-Kodi Member
Posts: 17,421
2009-11-06, 08:26
(This post was last modified: 2009-11-06, 08:33 by Hitcher.)
Cheers.
Just got to wait before I can test it.
Posts: 17,421
Joined: Aug 2007
Reputation:
590
Hitcher
Team-Kodi Member
Posts: 17,421
Tried adding both conditions to two view types and neither will show up.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
I suspect it's because the visibility condition is evaluated before items are passed in.