Kodi Community Forum

Full Version: Video Progress Dialog question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

WingmanNZ

Is the below Possible? I want to have the bar fill up blue to represent the amount that is cached and the playhead have the current play time below it.

Image
Not for any caching only the progress (length) of the video.
chrisallen511 Wrote:Is the below Possible? I want to have the bar fill up blue to represent the amount that is cached

it may work by using:

Code:
<control type="progress">
    <posx>140</posx>
    <posy>600</posy>
    <width>1000</width>
    <height>15</height>
    <info>Player.CacheLevel</info>
</control>

chrisallen511 Wrote:and the playhead have the current play time below it.

i don't think there's an easy way...but if you don't mind having to code 100 animations for it, i suppose it can be done ;-)
Quote:<animation effect="slide" start="0,0" end="10,0" condition="stringcompare(Player.Progress,1)">Conditional<animation>
.
.
.
<animation effect="slide" start="0,0" end="1000,0" condition="stringcompare(Player.Progress,100)">Conditional<animation>
ronie Wrote:<animation effect="slide" start="0,0" end="10,0" condition="stringcompare(Player.Progress,1)">Condi tional<animation>
.
.
.
<animation effect="slide" start="0,0" end="1000,0" condition="stringcompare(Player.Progress,100)">Con ditional<animation>
that doesn't work, Player.Progress has no number in there