Mod Progress Bar Buffer/Cache
#1
Video 
OK this was a feature request by a few members from this thread and works with latest skin version 3.3

Step 1.

Open defaults.xml and find this section starting on line 76
PHP Code:
    <default type="progress">
    <
reveal>true</reveal>
    <
texturebg>progress_back.png</texturebg>
    <
midtexture>progress_mid.png</midtexture>
    <
lefttexture>-</lefttexture>
    <
righttexture>-</righttexture>
    <
overlaytexture>-</overlaytexture>
    <
colordiffuse>$VAR[value_headercolor]</colordiffuse>
    </default> 

now change
PHP Code:
<texturebg>progress_back.png</texturebg
to
PHP Code:
<texturebg>progress_backing.png</texturebg

Step 2.

Open DialogFullScreenInfo.xml and find this section starting on line 104
PHP Code:
    <control type="progress" id="23">
    <
left>20</left>
    <
top>664</top>
    <
width>250</width>
    <
height>10</height>
    <
info>Player.Progress</info>
    </
control
And replace it with this
PHP Code:
    <control type="progress">
    <
description>ProgressbarCache</description>
    <
left>20</left>
    <
top>664</top>
    <
width>250</width>
    <
height>10</height>
    <
info>Player.ProgressCache</info>
    <
texturebg>progress_back.png</texturebg>
    <
midtexture>progress_mid.png</midtexture>
    <
colordiffuse>$VAR[value_headercolor]</colordiffuse>
    <
visible>true</visible>
    </
control>
    <
control type="progress" id="23">
    <
left>20</left>
    <
top>664</top>
    <
width>250</width>
    <
height>10</height>
    <
info>Player.Progress</info>
    </
control

Step 3.

Open DialogSeekBar.xml and find this section starting on line 103
PHP Code:
    <control type="progress" id="23">
    <
left>20</left>
    <
top>664</top>
    <
width>250</width>
    <
height>10</height>
    <
info>Player.Progress</info>
    </
control
And replace it with this
PHP Code:
    <control type="progress">
    <
description>ProgressbarCache</description>
    <
left>20</left>
    <
top>664</top>
    <
width>250</width>
    <
height>10</height>
    <
info>Player.ProgressCache</info>
    <
texturebg>progress_back.png</texturebg>
    <
midtexture>progress_mid.png</midtexture>
    <
colordiffuse>$VAR[value_headercolor]</colordiffuse>
    <
visible>true</visible>
    </
control>
    <
control type="progress" id="23">
    <
left>20</left>
    <
top>664</top>
    <
width>250</width>
    <
height>10</height>
    <
info>Player.Progress</info>
    </
control

Step 4.

Open VideoOSD.xml and find this section starting on line 170
PHP Code:
    <control type="progress">
    <
left>30</left>
    <
top>73</top>
    <
width>1220</width>
    <
height>25</height>
    <
info>Player.Progress</info>
    </
control
And replace it with this
PHP Code:
    <control type="progress">
    <
description>ProgressbarCache</description>
    <
left>30</left>
    <
top>73</top>
    <
width>1220</width>
    <
height>25</height>
    <
info>Player.ProgressCache</info>
    <
texturebg>progress_back.png</texturebg>
    <
midtexture>progress_mid.png</midtexture>
    <
colordiffuse>$VAR[value_headercolor]</colordiffuse>
    <
visible>true</visible>
    </
control>
    <
control type="progress" id="23">>
    <
left>30</left>
    <
top>73</top>
    <
width>1220</width>
    <
height>25</height>
    <
info>Player.Progress</info>
    </
control

Step 5.

Download Progress_Backing.png and place it in the skin folder media or extrack the xbt and place it in there and repack

Optional you can change the buffer colour in DialogFullScreenInfo.xml, DialogSeekBar.xml & VideoOSD by changing
PHP Code:
    <colordiffuse>$VAR[value_headercolor]</colordiffuse
from $VAR[value_headercolor] to any other colour from this list of Kodi Default Colour Chart but please note there is a 50% transparent black overlay so white looks like grey so pick bright colours eg red will come out dark red.

Edit. I have changed it from white to $ VAR[value_headercolor] so it is the same colour as the progress bar, Only the above code, I have not changed the download files. Thanks to wencaS for this tip.


Screenshot
Image

Downloads:
defaults.xml
DialogFullScreenInfo.xml
DialogSeekBar.xml
VideoOSD.xml
progress_backing.png
All files

Aussie, Aussie, Aussie, Oi, Oi, Oi Cool

Edit: added screenshot
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply
#2
Thank you for this. Can something like this be adapted to create a Live TV - Time shift buffer indicator?

There was discussion for this a little while back though may need skin mods: http://forum.kodi.tv/showthread.php?tid=...+tv+buffer
Reply
#3
Just had a look. Seems it should work. But looking through the infolabels there is not much information. I looked in the confluence skin and didn't find anything with PVR.TimeshiftCur.

But looking through pages and pages I have found these threads

7536 (PR)
https://github.com/FernetMenta/xbmc/comm...28f5a49bdc

If anyone else has any imput to this or know a skin that works please let me know.

I tried a few things but all seemed to do nothing so maybe my pvr backend don't support it yet (mediaportal)

So looks like addon must have timeshift support.
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply
#4
I just found this too but not much info
changes to skinning engine
So yes should be able to.
Next thing to find out is what pvr addons have timeshift progress support. And if any windows pvr addons do. Seems some Linux pvr addons work with this but looks like no one have implemented it into a skin.
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply
#5
That’s some good information there. Reading through the earlier thread, FernetMenta mentioned the time shift buffer functionality seems to be implemented in vnsi and tvh addons and then it would need the skin to support it.

I similarly use the mediaportal plugin (margos), so I presume unless the addon is updated for support then we may be stuck. It seems to me also that unless the skin devs really use the PVR function, the skins don’t seem to have much love on the PVR side of things.

I’m surprised the TV time shift buffer feature doesn’t seem to ever get off the ground as it is a staple of any standalone PVR.
Reply
#6
If another skin update comes out will it erase this? Also I am finding a lot of default.xml files within my Kodi folder. Could you please guide me directly to where I need to go. I am very new at this and don't want to mess anything up. Thanks for all your hard work.
Reply
#7
@Rjsachse
I include your mod to my Stars color according ratings for MQ6 v 3.3.0.

Just a small change: instead of white color I use $VAR[value_headercolor]

Image
Raspberry Pi2 OpenELEC 6.0.0 & KODI 15.2 Isengard
Aeon MQ 6 3.3.0 Stars color according ratings
Reply
#8
(2015-12-08, 19:30)wencaS Wrote: @Rjsachse
I include your mod to my Stars color according ratings for MQ6 v 3.3.0.

Just a small change: instead of white color I use $VAR[value_headercolor]

Image

Great idea Tongue can't believe I didn't think of that or tried it first. Just had grey in mind. Thanks
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply
#9
Quote:FernetMenta mentioned the time shift buffer functionality seems to be implemented in vnsi and tvh addons and then it would need the skin to support it.

I similarly use the mediaportal plugin (margos), so I presume unless the addon is updated for support then we may be stuck. It seems to me also that unless the skin devs really use the PVR function, the skins don’t seem to have much love on the PVR side of things.

I’m surprised the TV time shift buffer feature doesn’t seem to ever get off the ground as it is a staple of any standalone PVR.

So might have to get onto the pvr.addons devs for this feature.

I am a huge pvr user and have done a lot of mods to it eg. Different views for recorded TV, PVR artwork.

I agree about not much support or love for pvr. Once kodi has a inbuilt pvr and not relying on addons I can see this changing. Looks like kodi devs are doing a great job to make kodi pvr features just now need addons devs on board now.
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply
#10
(2015-12-08, 15:15)cgebke Wrote: If another skin update comes out will it erase this? Also I am finding a lot of default.xml files within my Kodi folder. Could you please guide me directly to where I need to go. I am very new at this and don't want to mess anything up. Thanks for all your hard work.

Yes this mod will be erased once another update come through unless you ask MarcosQui to include this feature in the next release as this should be a standard, since it is in default kodi skin (confluence skin)

I can't really go through how to add mods to skins since there is a lot of information out there already and don't want to repeat what is already on other threads. Best place to start is the wiki.

Tip. It is in skin.aeonmq6 then will be in the 720p folder.
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply
#11
wencaS

Are you talking about <colordiffuse></colordiffuse> value?

Rjsachse, want to thank you again for this wonderful mod.
Reply
#12
Yes he is. I added it on step 5 near the end as a edit

P.S the Thank You button is just below :-)
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply
#13
(2015-12-09, 00:43)Orochi77 Wrote: wencaS

Are you talking about <colordiffuse></colordiffuse> value?
Of course.
Raspberry Pi2 OpenELEC 6.0.0 & KODI 15.2 Isengard
Aeon MQ 6 3.3.0 Stars color according ratings
Reply
#14
Ok, this is awesome! Well done! Before I integrate this into my skin, will this change the default progress bar to a fully functioning progress bar? I mean, will the progress bar fill completely or will it still look like stock progress bar where it only fills a portion?
Reply
#15
On my system the hole progress bar fills up. If you have any issues please post screenshots and I will try and help.
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply

Logout Mark Read Team Forum Stats Members Help
Progress Bar Buffer/Cache1