2019-10-21, 09:49
Moved to 'Skinning' as you'll probably get more help there as this relates to skin coding.
<variable name="ListPosterVar">
<value condition="!String.IsEmpty(ListItem.Episode) + !Integer.IsGreater(ListItem.Season,9)">$INFO[ListItem.Path]$INFO[ListItem.Season,../season0,-poster.jpg]</value>
<value condition="!String.IsEmpty(ListItem.Episode) + Integer.IsGreater(ListItem.Season,9)">$INFO[ListItem.Path]$INFO[ListItem.Season,../season,-poster.jpg]</value>
<value condition="String.IsEmpty(ListItem.Episode)">$INFO[ListItem.Thumb]</value>
</variable>
$INFO[Container.Art(season.poster)]
$VAR[ListPosterVar]
somewhere to see what is being returned.
<value condition="Integer.IsGreater(VideoPlayer.Season,0) + !Integer.IsGreater(VideoPlayer.Season,9)">$INFO[Player.FolderPath]$INFO[VideoPlayer.Season,../season0,-poster.jpg]</value>
(2019-04-27, 02:56)K0D1User1138 Wrote: For a test I used the Episode view from the Aeon Nox Silvo skin that I'm using for comparrisson and put it into my skin. The only code I changed was the name of the view to get it recognized in my skin. The same issue with currently playing TV Show episodes and numbers happens. Yet while using the same file in it's original skin there is no issue. And the skin is looking for different item inormation than mine, I use name and episode number and ANS used
View_Episode.xml
Other viewtypes don't have this issue, only Episode. Maybe there's some underlaying code someplace I'm not understanding but shouldn't the list items just be pulled from the list regardless of there being anything in the player?
<selectedcolor>
from the label control.
(2020-10-22, 13:50)ronie Wrote: perhaps that 'light-blue' color isn't defined in your color/defaults.xml file?
when a listitem is playing, kodi will use the<selectedcolor>
from the label control.
<visible>Skin.HasSetting(alternatelayoutepisode)</visible>
(2020-10-23, 10:02)Angelinas Wrote:I think you pulled both those lines from the Episode View file from the Aeon Nox Silvo skin which I posted as my test. Neither are in my View_Episode.xmlThis condition hide your Label....Code:<visible>Skin.HasSetting(alternatelayoutepisode)</visible>
Remove and your text box label will be visible on focus...
Also you have missing list item "premiered" over thumb....variable need to add or change
$VAR[VideoListLabel2Var]
In to
$INFO(List item.Premiered)
(2020-10-23, 10:09)K0D1User1138 Wrote: I think you pulled both those lines from the Episode View file from the Aeon Nox Silvo skin which I posted as my test. Neither are in my View_Episode.xmlOki Doki I watch wrong code..
I do appreciate you taking a look.
<control type="fixedlist" id="502">
<viewtype label="Episode">list</viewtype>
<left>500</left>
<top>60</top>
<width>1920</width>
<height>980</height>
<orientation>vertical</orientation>
<movement>3</movement>
<focusposition>4</focusposition>
<onleft>SetProperty(MediaMenu,True,home)</onleft>
<onleft>SetFocus(9050)</onleft>
<onright>60</onright>
<onup>502</onup>
<ondown>502</ondown>
<preloaditems>2</preloaditems>
<pagecontrol>61</pagecontrol>
<scrolltime tween="quadratic" easing="out">200</scrolltime>
<visible>Container.Content(episodes)</visible>
<animation effect="slide" end="0,0" time="160" condition="Container(502).Row(0)">Conditional</animation>
<animation effect="slide" end="0,0" time="160" condition="Container(502).Row(1)">Conditional</animation>
<animation effect="slide" end="0,0" time="160" condition="Container(502).Row(2)">Conditional</animation>
<animation effect="slide" end="0,0" time="160" condition="Container(502).Row(3)">Conditional</animation>
<animation effect="slide" end="0,0" time="160" condition="Container(502).Row(4)">Conditional</animation>
<animation effect="slide" end="0,0" time="160" condition="Container(502).Row(5)">Conditional</animation>
<itemlayout height="90" width="950">
<!-- Episode Title -->
<control type="label">
<left>380</left>
<top>25</top>
<width>900</width>
<height>45</height>
<align>right</align>
<aligny>bottom</aligny>
<label>$INFO[ListItem.Label]</label>
<font>Font_Reg33_Caps</font>
<textcolor>white</textcolor>
</control>
</itemlayout>
<!-- Focused Item Layout -->
<focusedlayout width="950" height="246">
<!-- Episode Thumb -->
<control type="image">
<left>901</left>
<top>11</top>
<width>396</width>
<height>226</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture background="true">$INFO[ListItem.Thumb]</texture>
<bordertexture border="9">thumbs/multiplex_tvborder.png</bordertexture>
<bordersize>9</bordersize>
</control>
<!-- Watched Icon -->
<control type="image">
<left>1345</left>
<top>80</top>
<width>55</width>
<height>55</height>
<texture>$VAR[WatchedEpisodeIconVar]</texture>
<colordiffuse>white</colordiffuse>
</control>
<!-- Episode List -->
<control type="group">
<left>50</left>
<animation type="Conditional" reversible="false" condition="Control.HasFocus(514) + [!Container(514).OnNext + !Container(514).OnPrevious]">
<effect type="fade" end="100" time="160" />
</animation>
<!-- Episode Title -->
<control type="label">
<left>213</left>
<top>22</top>
<width>625</width>
<align>right</align>
<aligny>bottom</aligny>
<label>$INFO[ListItem.Title]</label>
<font>Font_Reg33_Caps</font>
<textcolor>white</textcolor>
<scrollspeed>40</scrollspeed>
<visible>!String.IsEmpty(ListItem.Title)</visible>
</control>
<!-- Original Air date -->
<control type="label">
<left>213</left>
<top>52</top>
<width>625</width>
<height>90</height>
<align>right</align>
<aligny>bottom</aligny>
<label>Original Air Date $INFO[ListItem.Date]$INFO[ListItem.Rating, • ]</label>
<font>Font_Reg33_Caps</font>
<textcolor>white</textcolor>
<visible>!String.IsEmpty(ListItem.Title) + !String.IsEmpty(ListItem.Date)</visible>
</control>
<!-- Plot -->
<control type="textbox">
<left>299</left>
<top>107</top>
<width>540</width>
<height>97</height>
<align>justify</align>
<font>Font_Reg30_2</font>
<info>ListItem.Plot</info>
<autoscroll time="1000" delay="6000" repeat="6000">Skin.HasSetting(AutoScroll)</autoscroll>
</control>
</control>
</focusedlayout>
</control>