2019-08-27, 04:44
(2019-08-26, 11:52)great_vc Wrote:(2019-08-26, 07:00)MacGyver Wrote:(2019-08-17, 10:47)great_vc Wrote: Long time no see people, i just upgraded to 18 and as always wanted my favorite skin Metropolis in! so far so good. but here comes a post from the past MacGyver, remember this ? https://forum.kodi.tv/showthread.php?pid...pid2034632
Well try to find the setting here as well but all have changed. A did a search in the .xml with no luck.
Can you please tell me how i can achieve this now ?
thanks !!!
Maybe try here:
go to PlayerControls.xml
and change line 424:
toCode:<label>$INFO[VideoPlayer.Time]$INFO[VideoPlayer.Duration, / ]</label>
Code:<label>$INFO[VideoPlayer.TimeRemaining][COLOR TextNF]/[/COLOR] $INFO[VideoPlayer.Duration]</label>
I didn't have time to test it, but it seems like what you want.
Thank you @MacGyver but it doesn't seem to work even though it seams legit from my view.
I have now this:
xml:<control type="label">
<description>Time Label</description>
<posx>160</posx>
<posy>95</posy>
<height>30</height>
<width>280</width>
<!-- <label>$INFO[VideoPlayer.Time]$INFO[VideoPlayer.TimeRemaining, / ]</label> --!>
<label>$INFO[VideoPlayer.Time][COLOR TextNF]/[/COLOR] $INFO[VideoPlayer.TimeRemaining]</label>
<align>left</align>
<aligny>center</aligny>
The result is the same:
On the previous version the code was this on the Includes.xml around line 1439
xml:<!-- Current position / Total Time -->
<control type="label">
<posx>1250</posx>
<posy>640</posy>
<width>250</width>
<height>40</height>
<aligny>center</aligny>
<align>right</align>
<font>METF_OSDTime</font>
<textcolor>OSDPlayingDuration</textcolor>
<label>$INFO[VideoPlayer.Time][COLOR TextNF]/[/COLOR] $INFO[VideoPlayer.TimeRemaining]</label>
</control>
I'm waiting for your magic touch
It's been moved and altered to support multiple locations and states, so you will need to decide when you want it to look the way you want. If you just want it to look that way when playing then do the below.
It's now in Includes_Variables.xml line 522
Code:
<value>$INFO[Player.Time(hh:mm:ss)]$INFO[Player.Duration(hh:mm:ss), [COLOR TextNF]/[/COLOR] ]</value>
change it to:
Code:
<value>$INFO[VideoPlayer.TimeRemaining][COLOR TextNF]/[/COLOR] $INFO[VideoPlayer.Duration]</value>
it should give you what you are looking for.