How can I use $VAR in <info> tags?
#1
Hi,

I have a "progress" control.
I want to use this $VAR in his <info> tag:
Code:
    <variable name="PlayerProgress">
        <value condition="[PVR.IsPlayingTV | VideoPlayer.HasEpg] + !String.IsEmpty(PVR.EpgEventProgress)">PVR.EpgEventProgress</value>
        <value>Player.Progress</value>
    </variable>  

Code:
<info>$VAR[PlayerProgress]</info>

But it's now working, so how can I do that?
Reply
#2
As far as I know you can't use $VAR in <info> tags.

I ended up making a copy of my progress bar and used visibility to hide one or the other. Not the ideal solution but it works.
Reply
#3
(2022-02-06, 19:00)roidy Wrote: As far as I know you can't use $VAR in <info> tags.

I ended up making a copy of my progress bar and used visibility to hide one or the other. Not the ideal solution but it works.

Thanks, and I think about that too.
But I thought maybe there is a elegant solution instead.
Reply
#4
estuary uses
xml:

<control type="progress">
                    <left>20</left>
                    <top>66</top>
                    <width>70</width>
                    <height>12</height>
                    <align>center</align>
                    <aligny>center</aligny>
                    <colordiffuse>88FFFFFF</colordiffuse>
                    <visible>ListItem.HasEpg + !$PARAM[has_info_icon]</visible>
                    <info>ListItem.Progress</info>
                </control>
Reply

Logout Mark Read Team Forum Stats Members Help
How can I use $VAR in <info> tags?0