[MOD] Current Time / Finish Time Toggle
#1
Ok this was a 2 minute job before going to bed so no screenshots.
I am sleepwalking... or is it sleepcoding? Smile

This will add an on/off switch for the CURRENT TIME or FINISH TIME
displayed on when pressing Info on a playing video or when seeking.

The files can be downloaded here :

http://www.mediafire.com/?yfztmlztzmz

Just copy to your 720p folder, overwriting.

Again, people who like to learn, here are the steps to DIY

In Customisation.xml, find :

Code:
        <control type="radiobutton" id="408">
            <include>Objects_SettingsDefaultRadioButton</include>
            <label>USE TV POSTERS FOR MULTIPLEX</label>
            <onclick>Skin.ToggleSetting(tvposter)</onclick>
            <selected>Skin.HasSetting(tvposter)</selected>
        </control>

and add this right AFTER it :

Code:
        <control type="radiobutton" id="409">
            <include>Objects_SettingsDefaultRadioButton</include>
            <label>DISABLE CURRENT TIME ON SEEKBAR</label>
            <onclick>Skin.ToggleSetting(currenttimeoff)</onclick>
            <selected>Skin.HasSetting(currenttimeoff)</selected>
        </control>
        
        <control type="radiobutton" id="410">
            <include>Objects_SettingsDefaultRadioButton</include>
            <label>DISABLE FINISH TIME ON SEEKBAR</label>
            <onclick>Skin.ToggleSetting(finishtimeoff)</onclick>
            <selected>Skin.HasSetting(finishtimeoff)</selected>
        </control>

In DialogFullScreenInfo.xml, find :

Code:
            <control type="label">
                <posx>30</posx>
                <posy>65</posy>
                <width>300</width>
                <height>25</height>
                <font>Font_OSDTime</font>
                <colordiffuse>d0FFFFFF</colordiffuse>
                <label>$LOCALIZE[31720]: $INFO[System.Time]</label>
            </control>

And add the bolded line :

Code:
            <control type="label">
                <posx>30</posx>
                <posy>65</posy>
                <width>300</width>
                <height>25</height>
                <font>Font_OSDTime</font>
                <colordiffuse>d0FFFFFF</colordiffuse>
                <label>$LOCALIZE[31720]: $INFO[System.Time]</label>
                [b]<visible>!Skin.HasSetting(currenttimeoff)</visible>[/b]
            </control>

Then, find :

Code:
            <control type="label">
                <posx>1250</posx>
                <posy>65</posy>
                <width>300</width>
                <height>25</height>
                <align>right</align>
                <font>Font_OSDTime</font>
                <colordiffuse>d0FFFFFF</colordiffuse>
                <label>$LOCALIZE[31710]: $INFO[Player.FinishTime]</label>
            </control>

And add the bolded line :

Code:
            <control type="label">
                <posx>1250</posx>
                <posy>65</posy>
                <width>300</width>
                <height>25</height>
                <align>right</align>
                <font>Font_OSDTime</font>
                <colordiffuse>d0FFFFFF</colordiffuse>
                <label>$LOCALIZE[31710]: $INFO[Player.FinishTime]</label>
                [b]<visible>!Skin.HasSetting(finishtimeoff)</visible>[/b]
            </control>

Rinse and repeat these steps for DialogSeekBar.xml

Yawn.... that's it for me... 4:44am... time to go to bed... why did i read
the thread before going to sleep?! Laugh

-Pr.
[4 Kodi Clients + 4 Norco RPC-4224 Media Servers w/376 TB HDD Space]
Reply

Logout Mark Read Team Forum Stats Members Help
[MOD] Current Time / Finish Time Toggle0