[Solved] stuff doesnt work as expected
#1
in DialogpvrInfo.xml

Code:
<onclick condition="!IntegerGreaterThan(ListItem.Duration,59:00)">Blablub</onclick>
<onclick condition="IntegerGreaterThan(ListItem.Duration,59:00)">Blablub</onclick>

Doesnt Work

Shuldnt it??

Code:
<onclick condition="!Substring(ListItem.Duration,01:,left)">Blablub</onclick>
<onclick condition="Substring(ListItem.Duration,01:,left)">Blablub</onclick>

Doesnt Work to

Shuldnt it??


EDIT: Goal is to trigger a different onklick event depending on the Items duration (Button Control) /EDIT


--

@Ronie:

Could you update the Wiki to reflect that "ListItem.Duration" does Work in "DialogPVRInfo.xml"

Thanks


--

EDIT2:

Got it: -> Typo: "SubString" not "Substring" Tongue

(and guess ItegerGreatherThan doesnt work beacause its just ment to work with Numbers not with time formats.)
Reply
#2
Have you tried

Code:
<onclick condition="!IntegerGreaterThan(ListItem.Duration,59)">Blablub</onclick>
<onclick condition="IntegerGreaterThan(ListItem.Duration,59)">Blablub</onclick>
Reply
#3
(2016-03-29, 01:43)Gade Wrote: Have you tried

Code:
<onclick condition="!IntegerGreaterThan(ListItem.Duration,59)">Blablub</onclick>
<onclick condition="IntegerGreaterThan(ListItem.Duration,59)">Blablub</onclick>

yes, was my first attempt.

as StringCompare work now, i dont care to much on IntegerGreatherThan and its beghaviors.

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
[Solved] stuff doesnt work as expected0