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
#2
Great work Reaven Smile
Reply
#3
(2016-03-09, 02:04)Reynald Wrote: Great work Reaven Smile

thanks man !
clearArt Concept
cdArt Concept

*If like, thank user
Reply
#4
Thanks, that's exactly what i wanted (stats in bloc 4 header)!


I would like to add more info in the bloc 2 (info bloc), like codec, lanquage, etc.. do you know by any chance what XML I have to hack?
Reply
#5
(2016-03-10, 23:27)djoole Wrote: Thanks, that's exactly what i wanted (stats in bloc 4 header)!


I would like to add more info in the bloc 2 (info bloc), like codec, lanquage, etc.. do you know by any chance what XML I have to hack?

AFAIK for viewtypes for home and libraries is all in two files

Designer_HOMViewtype.xml
Designer_VDOViewtype.xml
clearArt Concept
cdArt Concept

*If like, thank user
Reply
#6
I am working on this.

Image

Image

new sets of flags, thanks to Reynald for the suggestion and Refocus skin for the flags:

Image

in the end you can use whatever flags you like as long as you map them in the xml. Wink
clearArt Concept
cdArt Concept

*If like, thank user
Reply
#7
Oooooh nice one!
Reply
#8
Maybe you can use white flag for better on colorization? I love the flag of Refocus.
Reply
#9
(2016-03-11, 16:06)Reynald Wrote: Maybe you can use white flag for better on colorization? I love the flag of Refocus.

you can color diffuse whatever you want Big Grin

I just like the hint of color in like the DTS logo, beside was the only set of flags I could find that i like enough
clearArt Concept
cdArt Concept

*If like, thank user
Reply
#10
What I find good is that the flags Refocus (Jeroen) are in line with the typo of the clock. I did not try, but I think it would be clean, class, and fluid. I do not like having different form in the flags. And that's WAF
Reply
#11
(2016-03-11, 19:48)Reynald Wrote: What I find good is that the flags Refocus (Jeroen) are in line with the typo of the clock. I did not try, but I think it would be clean, class, and fluid. I do not like having different form in the flags. And that's WAF

I just check the flags (sample):

Image

Image

Image

Image

Image

clean and simple enough...., like it !
clearArt Concept
cdArt Concept

*If like, thank user
Reply
#12
(2016-03-11, 20:32)reaven Wrote:
(2016-03-11, 19:48)Reynald Wrote: What I find good is that the flags Refocus (Jeroen) are in line with the typo of the clock. I did not try, but I think it would be clean, class, and fluid. I do not like having different form in the flags. And that's WAF

I just check the flags (sample):

Image

Image

Image

Image

Image

clean and simple enough...., like it !

Yes :!!!!!!!!!!!!! Smile
Reply
#13
you were right, like it better, much better !!!

Image
clearArt Concept
cdArt Concept

*If like, thank user
Reply
#14
(2016-03-11, 20:39)reaven Wrote: you were right, like it better, much better !!!

Image

good good, love! Congratulations .
Reply
#15
NEW mod

unwatched episodes in custom_list watched flag

Image
clearArt Concept
cdArt Concept

*If like, thank user
Reply

Logout Mark Read Team Forum Stats Members Help
Various MODs0