Kodi Community Forum
Remove Duration - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: Remove Duration (/showthread.php?tid=188225)



Remove Duration - menan - 2014-03-05

Anyone know how I can remove the duration counter in video library?

Thanks


RE: Remove Duration - Arzk - 2014-03-06

In includes.xml there is <include name="CommonPageCount">. Under it are the page count and container duration labels, remove the latter. This affects the whole skin.
To disable it for video library only (but show for eg. music playlists) you could set some visibility conditions, for example:
Code:
<control type="label">
          <description>Container Duration Label</description>
          ---                                
          <visible>![Container.Content(Movies) | Container.Content(Episodes)]</visible>
          ---
</control>



RE: Remove Duration - menan - 2014-03-11

Hi

This is what I have in include.html.
Code:
    <include name="CommonPageCount">
        <control type="group">
            <animation effect="slide" start="0,0" end="-90,0" time="0" condition="system.getbool(input.enablemouse)">Conditional</animation>
            <control type="label">
                <description>Page Count Label</description>
                <posx>40r</posx>
                <posy>53r</posy>
                <width>500</width>
                <height>20</height>
                <font>font12</font>
                <textcolor>grey</textcolor>
                <scroll>false</scroll>
                <align>right</align>
                <aligny>center</aligny>
                <label>$INFO[Container.NumItems,([COLOR=blue],[/COLOR]) $LOCALIZE[31025]]$INFO[Container.CurrentPage, - $LOCALIZE[31024] ([COLOR=blue]]$INFO[Container.NumPages,/,[/COLOR])]</label>
                <include>Window_OpenClose_Animation</include>
            </control>
            
        </control>
    </include>

I have removed duration label but it still shows up.

Code:
<control type="label">
            <description>Container Duration Label</description>
            <posx>40r</posx>
            <posy>30r</posy>
            <width>500</width>
            <height>20</height>
            <font>font12</font>
            <textcolor>grey</textcolor>
            <scroll>false</scroll>
            <align>right</align>
            <aligny>center</aligny>
            <label>$INFO[Container.TotalTime,$LOCALIZE[180] ([COLOR=blue],[/COLOR])]</label>
            <include>Window_OpenClose_Animation</include>
        </control>



RE: Remove Duration - User 34959 - 2014-03-11

You need to reload the skin or restart XBMC.