"Time Remaining" possible?
#1
I searched, and I found this for the Confluence skin. I was hoping it could be adapted for Transparency!.

Info can be found here: http://forum.xbmc.org/showthread.php?tid=68523

I figure it'd look okay sitting tp the left of "Finish Time:", after removing the Finish Time dialogue..

I gave it a whirl at modifying the line for Confluence to work with T!, but no luck,

any help or suggestions would be lovely.

The code, that goes into DialogFullScreenInfo.xml:

Code:
<control type="label">
                    <description>Elapsed Time Label</description>
                    <posx>0</posx>
                    <posy>100</posy>
                    <width>600</width>
                    <height>20</height>
                    <font>font13_title</font>
                    <textcolor>white</textcolor>
                    <align>left</align>
                    <aligny>center</aligny>
                    <label>$INFO[Player.Time] ($INFO[Player.TimeRemaining] Remaining)</label>
                    <visible>!Player.Seeking</visible>
                </control>
Reply
#2
you could add this code:
Code:
<control type="label">
    <description>Video Remaining Time</description>
    <posx>1255</posx>
    <posy>90</posy>
    <width>300</width>
    <height>25</height>
    <textcolor>white</textcolor>
    <label>Remaining: $INFO[Player.TimeRemaining]</label>
    <align>right</align>
    <aligny>center</aligny>
    <font>font-20</font>
</control>
just put it anywhere between the other labels
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
ronie Wrote:you could add this code:
Code:
<control type="label">
    <description>Video Remaining Time</description>
    <posx>1255</posx>
    <posy>90</posy>
    <width>300</width>
    <height>25</height>
    <textcolor>white</textcolor>
    <label>Remaining: $INFO[Player.TimeRemaining]</label>
    <align>right</align>
    <aligny>center</aligny>
    <font>font-20</font>
</control>
just put it anywhere between the other labels

Sorry guys, I must be dense, I inserted the code in DialogFullScreenInfo but it does not show up on the screen when I press space for pause or M player controls... Help

Ideally, I would like it to show just above the clearart when I press Pause

MacMini 2.3gHz i7, OS X 10.13.6
Running Kodi 18.9
Reply
#4
space = DialogSeekBar.xml
m = VideoOSD.xml
i = DialogFullScreenInfo.xml
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
ronie Wrote:space = DialogSeekBar.xml
m = VideoOSD.xml
i = DialogFullScreenInfo.xml

Thanks for your reply, I adjusted the placement depending on the screen and it works beautifully.

MacMini 2.3gHz i7, OS X 10.13.6
Running Kodi 18.9
Reply
#6
Ahhh yes, Thanks for the info.

After putting the Remaining Time in the aforementioned .xmls, It'd be nice to have it show in a smaller font. I tried font values from font-20, up to 22, and down to 16, adn none seem to have made a difference. Not a big deal, really. Just for aesthetics.

thanks again for the info.
Reply
#7
Image
For the screen capture, I have labeled each "Remaining:" differently. The DialogSeekBar shows anytime the video is paused whereas the VideoOSD only shows up when the call the OSD.

Note that the DSB remaining placement was chosen as not to interfere with clearart and movie poster.
Also important is the fact that Show Media Flags is disabled in both TVshows and Movies, othewise, the flags will cover the DSB remaining time.
Ultimately, you could have just the DSB remaining time and place it top right or just higher than the poster on the right.
Code:
DialogSeekBar.xml
<control type="label">
    <description>Video Remaining Time</description>
    <posx>560</posx>
    <posy>685</posy>
    <width>300</width>
    <height>25</height>
    <textcolor>white</textcolor>
    <label>Remaining: $INFO[Player.TimeRemaining]</label>
    <align>right</align>
    <aligny>center</aligny>
    <font>font-20</font>
</control>

VideoOSD.xml
<control type="label">
    <description>Video Remaining Time</description>
    <posx>1255</posx>
    <posy>90</posy>
    <width>300</width>
    <height>25</height>
    <textcolor>white</textcolor>
    <label>Remaining: $INFO[Player.TimeRemaining]</label>
    <align>right</align>
    <aligny>center</aligny>
    <font>font-20</font>
</control>

MacMini 2.3gHz i7, OS X 10.13.6
Running Kodi 18.9
Reply
#8
I have wanted to add 'time remaining' to the info display for ages.
Thanks for the tips. It works fine
Reply
#9
First off, thanks again for the help.

So i insert these into the new Eden skin (forget version, but it's the latest) , and got the Time Remaining lines aligned on both VideoOSD and DialogFullScreen files, but it appears as grey and underneath the read of the OSD., even though it's set as "white" I guess Eden uses a different layering system now?

Not really a big deal, but i kinda have to squint to see it now, especially at a distance.

thanks again, and also for the newer Grey Colorscheme. I still love it.

Edit: well i now see that it runs through an animation to appear, much like the OSD does. I think I'll just place it above the OSD and leave it at that. Tried other skins again, and T! is still the finest

thanks for your continued work!

EDIT: Also thanks to jpf55 for posting your position values. I decided to put Dharma back on after getting sick of constant Eden crashes, and i forogt to backup my T! .xml files. D'oh!
Reply
#10
So upon putting Eden back on and doing some re-editing, I finally clued in that placing the Label lower in the list would put it on top of the other elements. It worked from for VideoOSd.xml, but now when i move the Time Remaining to between System Time and Finish time . Though for DialogFullScreenInfo.xml, moving it further makes it vanish... weird, but certainly acceptable, I just leave it above the box.
Reply
#11
(2012-07-13, 07:50)argh! Wrote: So upon putting Eden back on and doing some re-editing, I finally clued in that placing the Label lower in the list would put it on top of the other elements. It worked from for VideoOSd.xml, but now when i move the Time Remaining to between System Time and Finish time . Though for DialogFullScreenInfo.xml, moving it further makes it vanish... weird, but certainly acceptable, I just leave it above the box.
Image

Hi, argh!
I made some changes in Eden. I use XBMC with my mac and with an AppleTV 1st gen(ATV). Getting Pause on the Mac is not a problem, just hit Space (Pause on the ATV) and up comes the DialogSeekBar. Getting theVideoOSD.xml is M on the Mac but its Menu click and hold on the ATV, consequently, I end up using the standard Pause unless I absolutely need the OSD.

Note that I made no change to DialogFullScreenInfo.xml as I can only access it on the Mac but I supposed it would be the same code, also note that if you use OSD, you will have 2 Remaining times on the screen(top right and bottom right). That's because because VideoOSD.xml calls DialogSeekBar.xml when you pause but as I placed them far apart, it isn't so bad, see picture above.

Here is my code for eden:

-->DialogSeekBar.xml inserted at line 95
Code:
<control type="label">
    <description>Video Remaining Time</description>
    <posx>1255</posx>
    <posy>4</posy>
    <width>300</width>
    <height>25</height>
    <textcolor>white</textcolor>
    <shadowcolor>black</shadowcolor>
    <align>right</align>
    <label>Remaining: $INFO[Player.TimeRemaining]</label>
    <aligny>center</aligny>
    <font>font-20</font>
</control>
-->VideoOSD.xml also at line 95
Code:
<control type="label">
    <description>Video Remaining Time</description>
    <posx>1255</posx>
    <posy>90</posy>
    <width>300</width>
    <height>25</height>
    <textcolor>white</textcolor>
    <label>Remaining: $INFO[Player.TimeRemaining]</label>
    <align>right</align>
    <aligny>center</aligny>
    <font>font-20</font>
</control>

Hope it works out for you

MacMini 2.3gHz i7, OS X 10.13.6
Running Kodi 18.9
Reply
#12
I already have Time Remaining on top of other layers, and in the position I desire in both VideoOSD and DialogSeekBar... it's the Info screen that's screwign with me. But like I said, it's no matter. I still have it showing, but above System Time. I try to move it down to match the position in my VideoOSD, and it vanishes.. no biggie. I'm just being OCD about it.
Reply
#13
I'll take a look on the mac and let you know

MacMini 2.3gHz i7, OS X 10.13.6
Running Kodi 18.9
Reply
#14
Image

Argh!,
I suspect that your placement was under the Info layer and that your transparency is set to opaque which is why you could not see it.
If you have not changed anything else in DialogFullScreenInfo.xml then place this code at line 191, just before the Video End Time:
Code:
<control type="label">
    <description>Video Remaining Time</description>
    <posx>1255</posx>
    <posy>86</posy>
    <width>300</width>
    <height>25</height>
    <textcolor>white</textcolor>
    <shadowcolor>black</shadowcolor>
    <align>right</align>
    <label>Remaining: $INFO[Player.TimeRemaining]</label>
    <aligny>center</aligny>
    <font>font-20</font>
</control>

MacMini 2.3gHz i7, OS X 10.13.6
Running Kodi 18.9
Reply
#15
Okay that did it. I never changed any setting other than the 'posy' value.. but i placed it quite a bit lower in the xml. I guess that was the issue.

thanky!
Reply

Logout Mark Read Team Forum Stats Members Help
"Time Remaining" possible?0