[Custom_List Request] episodes/songs viewtype

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Jayz2K Offline
Skilled Skinner
Posts: 1,157
Joined: Aug 2014
Reputation: 47
Location: Sierck-les-bains - France
Post: #16
Because sum of focusedlayout + number of itemlayout visible x itemlayout height has to be < to Container height. Max height here for Container is 356 x 3. I didn't checked it in my code.

[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
find quote
Reynald Offline
Posting Freak
Posts: 1,270
Joined: Feb 2014
Reputation: 13
Post: #17
oh yes !! ok thx Smile
find quote
Reynald Offline
Posting Freak
Posts: 1,270
Joined: Feb 2014
Reputation: 13
Post: #18
Now here work well
http://prntscr.com/ab37sn


Code:
<itemlayout width="1900" height="215">
              <control type="group">  
              <top>40</top>
                 <control type="label">
                <height>120</height>
                <width>1908</width>
                <right>24</right>
                <align>right</align>
                <aligny>center</aligny>
                <font>Font27</font>
                <textcolor>$INFO[Skin.String(Color.B1Txt1NF)]</textcolor>
                <label>$INFO[ListItem.Label]</label>
            </control>
            </control>
                </itemlayout>                
                <focusedlayout width="1900" height="215">
                <control type="group">
                <top>40</top>
                 <control type="group">
                <width>636</width>
                <height>318</height>
                <right>24</right>
              
                  <control type="image">
                     <right>-15</right>
                    <top>0</top>
                    <width>380</width>
                    <height>215</height>
                    <aspectratio>scale</aspectratio>
                    <texture colordiffuse="$INFO[Skin.String(Color.B1ItemNF)]">common/white.png</texture>
                </control>
                    <control type="image">
                     <right>-15</right>
                    <top>0</top>
                    <width>380</width>
                    <height>215</height>
                    <align>right</align>
                    <aspectratio>scale</aspectratio>
                    <texture background="true" colordiffuse="FFFFFFFF">$VAR[ThumbLandscape]</texture>
                    <visible>IsEmpty(ListItem.Property(ChannelName)) + IsEmpty(ListItem.ChannelName) + IsEmpty(ListItem.Property(labelID))</visible>
                </control>
                </control>
                <control type="group">
                <right>684</right>
                <width>1000</width>
                <height>318</height>
                <control type="label">
                    <left>300</left>
                    <top>15</top>
                    <width>800</width>
                    <height>50</height>
                    <align>left</align>
                    <aligny>center</aligny>
                    <font>Font30</font>
                    <textcolor>FFFFFFFF</textcolor>
                    <label>$VAR[B1Title]</label>
                </control>
                        <control type="label">
                    <left>300</left>
                    <top>150</top>
                    <width>200</width>
                    <height>50</height>
                    <align>left</align>
                    <aligny>center</aligny>
                    <font>FontSmallR</font>
                    <textcolor>FFFFFFFF</textcolor>
                    <label>$VAR[B1SubTitle]</label>
                </control>
                    <control type="label">
                    <left>500</left>
                    <top>150</top>
                    <width>600</width>
                    <height>50</height>
                    <align>left</align>
                    <aligny>center</aligny>
                    <font>FontSmallR</font>
                    <textcolor>FFFFFFFF</textcolor>
                    <label>$VAR[B2SubTitle]</label>
                </control>
                <control type="textbox">
                    <top>60</top>
                    <left>300</left>
                   <width>900</width>
                    <height>90</height>
                    <font>FontSmall</font>
                    <align>justify</align>
                    <textcolor>FFFFFFFF</textcolor>
                    <label>$INFO[ListItem.Plot]</label>
                </control>
                    </control>
                    <control type="group">
                <right>1</right>
                <top>2</top>
                <width>100</width>
                <height>100</height>
                <control type="image">
                    <right>0</right>
                    <top>0</top>
                    <aspectratio>scale</aspectratio>
                    <texture colordiffuse="$VAR[CategoryColor]">common/corner.png</texture>
                </control>
                <control type="image">
                    <right>5</right>
                    <top>5</top>
                    <width>25</width>
                    <height>25</height>
                    <aspectratio>scale</aspectratio>
                    <texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">material/check.png</texture>
                    <visible>!ListItem.HasTimer + !ListItem.IsRecording + !ListItem.IsResumable</visible>
                </control>
                <control type="image">
                    <right>6</right>
                    <top>6</top>
                    <width>25</width>
                    <height>25</height>
                    <aspectratio>scale</aspectratio>
                    <texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">osd/pause.png</texture>
                    <visible>ListItem.IsResumable</visible>
                </control>
                <!-- Recording image -->
                <control type="image">
                    <right>5</right>
                    <top>5</top>
                    <width>25</width>
                    <height>25</height>
                    <aspectratio>scale</aspectratio>
                    <texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">osd/record.png</texture>
                    <visible>ListItem.IsRecording</visible>
                </control>
                <!-- Timer image -->
                <control type="image">
                    <right>5</right>
                    <top>5</top>
                    <width>25</width>
                    <height>25</height>
                    <aspectratio>scale</aspectratio>
                    <texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">material/clock.png</texture>
                    <visible>ListItem.HasTimer + !ListItem.IsRecording</visible>
                </control>            

            <visible>[Skin.HasSetting(WatchedFlag) + [Container.Content(movies) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(episodes) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(seasons) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(tvshows) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | ListItem.IsResumable] | ListItem.IsRecording | ListItem.HasTimer</visible>
            </control>
            </control>
                </focusedlayout>
find quote
reaven Offline
Skilled Skinner
Posts: 1,312
Joined: May 2009
Reputation: 22
Post: #19
damn you guys !!!!!

Thanks Reynald and of course Jayz2K for chime in and always be available when we need you ! Big Grin


This skin with all those custom list available for users what more can you ask for ? Cool

clearArt Concept
cdArt Concept

*If like, thank user
find quote
Reynald Offline
Posting Freak
Posts: 1,270
Joined: Feb 2014
Reputation: 13
Post: #20
your welcome my friend, it is still raw, need to be completed at your desire.
find quote
Jayz2K Offline
Skilled Skinner
Posts: 1,157
Joined: Aug 2014
Reputation: 47
Location: Sierck-les-bains - France
Post: #21
(2016-03-04 19:21)reaven Wrote:  This skin with all those custom list available for users what more can you ask for ? Cool

KOver 2 ?

[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
find quote
reaven Offline
Skilled Skinner
Posts: 1,312
Joined: May 2009
Reputation: 22
Post: #22
(2016-03-04 23:03)Jayz2K Wrote:  
(2016-03-04 19:21)reaven Wrote:  This skin with all those custom list available for users what more can you ask for ? Cool

KOver 2 ?

hahaha Laugh well of course !!
**note aside, with wraplist you would be able to have this same view but avoiding the spaces between unfocus items, right ?
Well this is my take:

[Image: Screen%20Shot%202016-03-04%20at%205.41.5...svfqzz.png]

clearArt Concept
cdArt Concept

*If like, thank user
(This post was last modified: 2016-03-04 23:56 by reaven.)
find quote
Jayz2K Offline
Skilled Skinner
Posts: 1,157
Joined: Aug 2014
Reputation: 47
Location: Sierck-les-bains - France
Post: #23
I think you can reduce the space with the actual panel. Will fine tune it when I have some time.

[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
find quote
Reynald Offline
Posting Freak
Posts: 1,270
Joined: Feb 2014
Reputation: 13
Post: #24
(2016-03-04 23:50)reaven Wrote:  
(2016-03-04 23:03)Jayz2K Wrote:  
(2016-03-04 19:21)reaven Wrote:  This skin with all those custom list available for users what more can you ask for ? Cool

KOver 2 ?

hahaha Laugh well of course !!
**note aside, with wraplist you would be able to have this same view but avoiding the spaces between unfocus items, right ?
Well this is my take:

[Image: Screen%20Shot%202016-03-04%20at%205.41.5...svfqzz.png]
Ahaha perfect, I think I'll need this view soon. Very good work . Are you also need Kover everyday! It's like a drug. It is so inspiring. And I always want to break everything to start over my setup and view and new possibility.
find quote
reaven Offline
Skilled Skinner
Posts: 1,312
Joined: May 2009
Reputation: 22
Post: #25
(2016-03-05 00:11)Jayz2K Wrote:  I think you can reduce the space with the actual panel. Will fine tune it when I have some time.

yeah but you cant reduce the space for less than the height of the thumb, right ?

clearArt Concept
cdArt Concept

*If like, thank user
find quote
reaven Offline
Skilled Skinner
Posts: 1,312
Joined: May 2009
Reputation: 22
Post: #26
this is my shot at it, add studio logo and IMDB rating.
[Image: Screen%20Shot%202016-03-04%20at%207.49.3...a0qxrq.png]

clearArt Concept
cdArt Concept

*If like, thank user
(This post was last modified: 2016-03-18 23:23 by reaven.)
find quote
reaven Offline
Skilled Skinner
Posts: 1,312
Joined: May 2009
Reputation: 22
Post: #27
(2016-03-05 00:11)Jayz2K Wrote:  I think you can reduce the space with the actual panel. Will fine tune it when I have some time.

thats what i want, to reduce the space for the unfocused items, it could be done with custom_list or it have to be a fixed list ?

* I based this view on this one (from Aeon-Nox)

clearArt Concept
cdArt Concept

*If like, thank user
(This post was last modified: 2016-03-18 23:33 by reaven.)
find quote
Jayz2K Offline
Skilled Skinner
Posts: 1,157
Joined: Aug 2014
Reputation: 47
Location: Sierck-les-bains - France
Post: #28
(2016-03-18 23:23)reaven Wrote:  
(2016-03-05 00:11)Jayz2K Wrote:  I think you can reduce the space with the actual panel. Will fine tune it when I have some time.

thats what i want, to reduce the space for the unfocused items, it could be done with custom_list or it have to be a fixed list ?

* I based this view on this one (from Aeon-Nox)
What is the height of your actual focusedlayout ?

[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
find quote
reaven Offline
Skilled Skinner
Posts: 1,312
Joined: May 2009
Reputation: 22
Post: #29
(2016-03-20 12:49)Jayz2K Wrote:  
(2016-03-18 23:23)reaven Wrote:  
(2016-03-05 00:11)Jayz2K Wrote:  I think you can reduce the space with the actual panel. Will fine tune it when I have some time.

thats what i want, to reduce the space for the unfocused items, it could be done with custom_list or it have to be a fixed list ?

* I based this view on this one (from Aeon-Nox)
What is the height of your actual focusedlayout ?

Code:
<itemlayout width="1900" height="215">
              <control type="group">  
                  <top>60</top>
                     <control type="label">
                          <height>120</height>
                          <width>1908</width>
                          <right>24</right>
                          <align>right</align>
                          <aligny>center</aligny>
                          <font>Font27</font>
                          <textcolor>$INFO[Skin.String(Color.B1Txt1NF)]</textcolor>
                          <label>$INFO[ListItem.Label]</label>
                    </control>
                    <control type="image">
                        <right>9</right>
                        <top>50</top>
                        <width>25</width>
                        <height>25</height>
                        <aspectratio>scale</aspectratio>
                        <texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">material/check.png</texture>
                        <visible>[Skin.HasSetting(WatchedFlag) + [Container.Content(movies) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(episodes) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(seasons) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(tvshows) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | ListItem.IsResumable] | ListItem.IsRecording | ListItem.HasTimer</visible>
                    </control>
            </control>
            
        </itemlayout>                
        <focusedlayout width="1900" height="215">
                <control type="group">
                    <top>0</top>
                     <control type="group">
                        <width>636</width>
                        <height>318</height>
                        <right>24</right>
              
                          <control type="image">
                             <right>-15</right>
                            <top>0</top>
                            <width>380</width>
                            <height>215</height>
                            <aspectratio>scale</aspectratio>
                            <texture colordiffuse="$INFO[Skin.String(Color.B1ItemNF)]">common/white.png</texture>
                        </control>
                        <control type="image">
                             <right>-15</right>
                            <top>0</top>
                            <width>380</width>
                            <height>215</height>
                            <align>right</align>
                            <aspectratio>scale</aspectratio>
                            <texture background="true" colordiffuse="FFFFFFFF">$VAR[ThumbLandscape]</texture>
                            <visible>IsEmpty(ListItem.Property(ChannelName)) + IsEmpty(ListItem.ChannelName) + IsEmpty(ListItem.Property(labelID))</visible>
                        </control>
                        <control type="image">
                            <right>-15</right>
                            <top>215</top>
                            <bottom>0</bottom>
                            <width>380</width>
                            <height>50</height>
                            <aspectratio>scale</aspectratio>
                            <texture colordiffuse="$VAR[CategoryColor]">common/white.png</texture>
                        </control>
                        <control type="label">
                            <right>-15</right>
                            <top>215</top>
                            <bottom>0</bottom>
                            <width>370</width>
                            <height>50</height>
                            <align>left</align>
                            <aligny>center</aligny>
                            <font>FontSmallR</font>
                            <textcolor>$INFO[Skin.String(Color.B1Txt1F)]</textcolor>
                            <label>$VAR[B1SubTitle]</label>
                        </control>
                        <control type="label">
                            <right>-15</right>
                            <top>215</top>
                            <bottom>0</bottom>
                            <width>370</width>
                            <height>50</height>
                            <align>right</align>
                            <aligny>center</aligny>
                            <font>FontSmallR</font>
                            <textcolor>$INFO[Skin.String(Color.B1Txt1F)]</textcolor>
                            <label>$LOCALIZE[20416] $INFO[ListItem.Premiered]  </label>
                        </control>
                    </control>
                    <control type="group">
                        <right>684</right>
                        <width>1000</width>
                        <height>318</height>
                        
                        <control type="label">
                            <left>400</left>
                            <top>15</top>
                            <width>800</width>
                            <height>50</height>
                            <align>right</align>
                            <aligny>center</aligny>
                            <font>Font36R</font>
                            <textcolor>$VAR[CategoryColor]</textcolor>
                            <label>$VAR[B1Title]</label>
                        </control>
                        <control type="image">
                            <left>1030</left>
                            <top>236</top>
                            <bottom>0</bottom>
                            <width>44</width>
                            <height>18</height>
                            <aspectratio>keep</aspectratio>
                            <texture>imdbW.png</texture>
                            <visible>!IsEmpty(ListItem.Rating)</visible>
                        </control>
                        <control type="label">
                            <description>Rating</description>
                            <left>1080</left>
                            <top>236</top>
                            <bottom>0</bottom>
                            <width>700</width>
                            <height>18</height>
                            <font>FontSmallR</font>
                            <textcolor>FFFFFFFF</textcolor>
                            <label>$INFO[ListItem.Rating]</label>
                        </control>
                        <control type="image">
                            <left>822</left>
                            <top>220</top>
                            <width>700</width>
                            <height>50</height>
                            <aspectratio>keep</aspectratio>
                            <texture>$INFO[ListItem.Studio,resource://resource.images.studios.white/,.png]</texture>
                        </control>
                        <control type="label">
                            <description>Series title and season #</description>
                            <left>500</left>
                            <top>180</top>
                            <width>700</width>
                            <height>50</height>
                            <align>right</align>
                            <aligny>center</aligny>
                            <font>FontSmallR</font>
                            <textcolor>FFFFFFFF</textcolor>
                            <label>$INFO[ListItem.TVShowTitle].S$INFO[ListItem.Season]E$INFO[ListItem.Episode]</label>
                        </control>
                        <control type="textbox">
                            <top>70</top>
                            <left>500</left>
                               <width>700</width>
                            <height>115</height>
                            <font>FontSmall</font>
                            <align>right</align>
                            <textcolor>FFFFFFFF</textcolor>
                            <label>$INFO[ListItem.Plot]</label>
                        </control>
                    </control>
                    <control type="group">
                        <right>1</right>
                        <top>2</top>
                        <width>100</width>
                        <height>100</height>
                        <control type="image">
                            <right>7</right>
                            <top>-2</top>
                            <aspectratio>scale</aspectratio>
                            <texture colordiffuse="$VAR[CategoryColor]">common/corner.png</texture>
                        </control>
                        <control type="image">
                            <right>9</right>
                            <top>3</top>
                            <width>25</width>
                            <height>25</height>
                            <aspectratio>scale</aspectratio>
                            <texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">material/check.png</texture>
                            <visible>!ListItem.HasTimer + !ListItem.IsRecording + !ListItem.IsResumable</visible>
                        </control>
                        <control type="image">
                            <right>6</right>
                            <top>6</top>
                            <width>25</width>
                            <height>25</height>
                            <aspectratio>scale</aspectratio>
                            <texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">osd/pause.png</texture>
                            <visible>ListItem.IsResumable</visible>
                        </control>
                <!-- Recording image -->
                        <control type="image">
                            <right>5</right>
                            <top>5</top>
                            <width>25</width>
                            <height>25</height>
                            <aspectratio>scale</aspectratio>
                            <texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">osd/record.png</texture>
                            <visible>ListItem.IsRecording</visible>
                        </control>
                <!-- Timer image -->
                        <control type="image">
                            <right>5</right>
                            <top>5</top>
                            <width>25</width>
                            <height>25</height>
                            <aspectratio>scale</aspectratio>
                            <texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">material/clock.png</texture>
                            <visible>ListItem.HasTimer + !ListItem.IsRecording</visible>
                            </control>            
                    <visible>[Skin.HasSetting(WatchedFlag) + [Container.Content(movies) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(episodes) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(seasons) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(tvshows) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | ListItem.IsResumable] | ListItem.IsRecording | ListItem.HasTimer</visible>
                    </control>
                </control>
        </focusedlayout>

and it looks like this:
[Image: episodeView_zpsilkkiouv.png]

clearArt Concept
cdArt Concept

*If like, thank user
(This post was last modified: 2016-03-20 19:32 by reaven.)
find quote
Jayz2K Offline
Skilled Skinner
Posts: 1,157
Joined: Aug 2014
Reputation: 47
Location: Sierck-les-bains - France
Post: #30
Ok, try this. Max height = 3 blocs = 1068px. 215 is not a multiple of that so cannot match what you want. 1 bloc = 356px = 1068/3. 356/3 = about 119. So 119 x 2 = 238. Try setting focusedlayout (and adapt content) to 238. Set itemlayout to 119. So 119 x 7 + 238 = 1071. 3 pixels higher should display fine.
Cheers.

[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
find quote