Mod Various MODs
#1
Brick 
Just sharing various mods I have made like:
  • Library stadistics (tv shows, movies and music)
  • media info on paused
  • media finish time on progress bar

Designer_HOMViewtype.xml
* semicolon was added. (Ex. MOVIES: ####)

Image

Image

Image


DialogSeekBar.xml
* info hide when video controls are visible
* semicolon was added. (Ex. PAUSED: EXAMPLE NAME)
Image

Image


NEW MOD- media flags
*you have to provide your flags, I am using this one

Image


PHP Code:
<control type="group">
                <
visible>Skin.String($PARAM[CompPrefix].BBSidebar,TOP) | Skin.String($PARAM[CompPrefix].BBSidebar,BOTTOM) + !Window.IsActive(10138)</visible>
                <
animation effect="slide" start="0,0" end="0,960" time="0" condition="Skin.String($PARAM[CompPrefix].BBSidebar,BOTTOM)">Conditional</animation>
                <
width>1920</width>
                <
height>120</height>
                
                    <
control type="label">
                        <
top>0</top>
                        <
left>290</left>
                        <
width>870</width>
                        <
height>120</height>
                        <
align>left</align>
                        <
aligny>center</aligny>
                        <
font>Font48</font>
                        <
scroll>true</scroll>
                        <
textcolor>$INFO[Skin.String(Color.SBIconNF)]</textcolor>
                        <
label>$VAR[B1Title,: ]</label>
                        <
visible>Container.Content(movies)</visible>
                    </
control>
                    <
control type="label">
                        <
top>0</top>
                        <
left>350</left>
                        <
width>870</width>
                        <
height>120</height>
                        <
align>left</align>
                        <
aligny>center</aligny>
                        <
font>Font48</font>
                        <
scroll>true</scroll>
                        <
textcolor>$INFO[Skin.String(Color.SBIconNF)]</textcolor>
                        <
label>$VAR[B1Title,: ]</label>
                        <
visible>Container.Content(tvshows) | Container.Content(seasons)</visible>
                    </
control>
                                        <
control type="image">
                        <
right>560</right>
                        <
top>20</top>
                        <
height>100</height>
                        <
width>100</width>
                        <
aligny>center</aligny>
                        <
aspectratio>keep</aspectratio>
                        <
texture>$INFO[ListItem.VideoResolution,flags/video/resolution/,.png]</texture>
                    </
control>
                    <
control type="image">
                        <
right>440</right>
                        <
top>20</top>
                        <
height>100</height>
                        <
width>100</width>
                        <
aligny>center</aligny>
                        <
aspectratio>keep</aspectratio>
                        <
texture>$INFO[ListItem.VideoAspect,flags/video/aspectratio/,.png]</texture>
                    </
control>
                    <
control type="image">
                        <
right>320</right>
                        <
top>20</top>
                        <
height>100</height>
                        <
width>100</width>
                        <
aligny>center</aligny>
                        <
aspectratio>keep</aspectratio>
                        <
texture>$INFO[ListItem.VideoCodec,flags/codec/,.png]</texture>
                    </
control>
                    <
control type="image">
                        <
right>200</right>
                        <
top>20</top>
                        <
height>100</height>
                        <
width>100</width>
                        <
aligny>center</aligny>
                        <
aspectratio>keep</aspectratio>
                        <
texture>$INFO[ListItem.AudioCodec,flags/codec/,.png]</texture>
                    </
control>
                </
control
add code to at the end of Designer_VDOViewtype.xml




unwatched episodes in custom_list watched flag
* this was added to this custom_list *remember this need to be add to focusedlayout and itemlayout *
- raw version (need adjustment when number is greater than 99)
* fixed, add control if there are more than 999 unwatched episodes.
Image

PHP Code:
<control type="image">
                    <
description>corner image</description>
                    <
right>1</right>
                    <
top>1</top>
                    <
aspectratio>scale</aspectratio>
                    <
texture colordiffuse="$VAR[CategoryColor]">common/corner.png</texture>
                    <!--<
visible>stringcompare(ListItem.Overlay,OverlayWatched.png) | ListItem.IsResumable ListItem.IsRecording ListItem.HasTimer</visible>-->
                </
control>
                <
control type="image">
                    <
description>checkmark image</description>
                    <
right>6</right>
                    <
top>6</top>
                    <
width>25</width>
                    <
height>25</height>
                    <
aspectratio>scale</aspectratio>
                    <
texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">material/check.png</texture>
                    <
visible>stringcompare(ListItem.Overlay,OverlayWatched.png)</visible>
                </
control>
                <
control type="label">
                        <
description>unwatched # episodes</description>
                        
<right>4</right>
                        <
top>4</top>
                        <
width>30</width>
                        <
height>30</height>
                        <
align>center</align>
                        <
aligny>top</aligny>
                        <
font>FontSmallB</font>
                        <
textcolor>$INFO[Skin.String(Color.B1Txt1F)]</textcolor>
                        <
label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
                        <
visible>!IntegerGreaterThan(ListItem.Property(UnWatchedEpisodes),999) + !stringcompare(ListItem.Overlay,OverlayWatched.png) + [container.content(tvshows) | container.content(seasons)]</visible>
                    </
control>
<!-- 
this control need editing if unwatched episodes is greater than 999 -->
                    <
control type="label">
                    <
description>unwatched # episodes if greater than 999</description>
                        
<right>2</right>
                        <
top>-4</top>
                        <
width>40</width>
                        <
height>30</height>
                        <
align>center</align>
                        <
aligny>top</aligny>
                        <
font>FontSmall</font>
                        <
textcolor>$INFO[Skin.String(Color.B1Txt1F)]</textcolor>
                        <
label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
                        <
visible>IntegerGreaterThan(ListItem.Property(UnWatchedEpisodes),999)</visible>
                    </
control
clearArt Concept
cdArt Concept

*If like, thank user
Reply


Messages In This Thread
Various MODs - by reaven - 2016-03-09, 00:34
RE: Various MODs - by Reynald - 2016-03-09, 02:04
RE: Various MODs - by reaven - 2016-03-09, 03:06
RE: Various MODs - by djoole - 2016-03-10, 23:27
RE: Various MODs - by reaven - 2016-03-11, 04:25
RE: Various MODs - by reaven - 2016-03-11, 04:34
RE: Various MODs - by djoole - 2016-03-11, 15:17
RE: Various MODs - by Reynald - 2016-03-11, 16:06
RE: Various MODs - by reaven - 2016-03-11, 18:25
RE: Various MODs - by Reynald - 2016-03-11, 19:48
RE: Various MODs - by reaven - 2016-03-11, 20:32
RE: Various MODs - by Reynald - 2016-03-11, 20:36
RE: Various MODs - by reaven - 2016-03-11, 20:39
RE: Various MODs - by Reynald - 2016-03-11, 20:43
RE: Various MODs - by reaven - 2016-03-12, 05:54
RE: Various MODs - by reaven - 2016-03-12, 05:55
RE: Various MODs - by djoole - 2016-03-12, 12:43
RE: Various MODs - by reaven - 2016-03-12, 18:17
RE: Various MODs - by djoole - 2016-03-13, 00:42
Logout Mark Read Team Forum Stats Members Help
Various MODs0