2019-04-07, 19:08
Hello,
why does the following code not show the desired progress bar (depending on whether Live-TV or a movie etc. is shown) ? (Line 7)
why does the following code not show the desired progress bar (depending on whether Live-TV or a movie etc. is shown) ? (Line 7)
first:<control type="progress" id="23">
<description>Progress Bar</description> <!-- Fortschrittsbalken, normalerweisse hellblau -->
<posx>540</posx> <!-- bezieht sich auf OSD mit Seekbar und auf die OSD mit Buttons -->
<posy>160</posy>
<height>20</height>
<width>700</width>
<info>$VAR[ProgressTime]</info> <!-- ************** THIS LINE ********** -->
<!-- <info>Player.Progress</info> -->
<visible>!String.IsEmpty(Player.Duration) | !String.IsEmpty(PVR.EpgEventDuration)</visible>
<visible>!String.IsEqual(Window(Home).Property(subtitlemenu), show)</visible>
<texturebg border="5" colordiffuse="$VAR[OSDProgressBarBackgroundColor]">diffuse/panel_trans.png</texturebg>
<lefttexture></lefttexture>
<midtexture border="5" colordiffuse="$INFO[Skin.String(OSDProgressBarColor)]">diffuse/panel.png</midtexture>
<righttexture></righttexture>
<overlaytexture></overlaytexture>
</control>
zwei:<variable name="ProgressTime"> <!-- grafische Anzeige des Fortschritts -->
<value condition="VideoPlayer.HasEpg">PVR.EpgEventProgress</value>
<value>Player.Progress</value>
</variable>