Remove Duration
#1
Anyone know how I can remove the duration counter in video library?

Thanks
Reply
#2
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>
Reply
#3
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>
Reply
#4
You need to reload the skin or restart XBMC.
Reply

Logout Mark Read Team Forum Stats Members Help
Remove Duration0