Change s01e01 to uppercase S01E01
#1
Hi,

Can someone please tell me where and what to edit in the xml to change the (season - episode) to uppercase e.g. from s01e01 to S01E01.

I think it's under IncludesHomeWidget.xml but I have no idea.

Image

Thanks in advance.

Gaz
Reply
#2
IncludesHomeRecentlyAdded.xml

xml:
<?xml version="1.0" encoding="UTF-8"?>
<includes>
    <include name="HomeRecentlyAddedInfo">
        <control type="group" id="9003">
            <depth>DepthMenu</depth>
            <onup>20</onup>
            <ondown condition="System.HasAddon(script.globalsearch)">608</ondown>
            <ondown condition="!System.HasAddon(script.globalsearch)">603</ondown>
            <visible>!Window.IsVisible(Favourites)</visible>
            <include>VisibleFadeEffect</include>
            <animation effect="fade" time="225" delay="750">WindowOpen</animation>
            <animation effect="fade" time="150">WindowClose</animation>
            <control type="group">
                <left>190</left>
                <top>50</top>
                <visible>Library.HasContent(Movies)</visible>
                <visible>Container(9000).Hasfocus(10) + !Skin.HasSetting(HomepageHideRecentlyAddedVideo) + !Skin.HasSetting(HomeMenuMovieUsePlaylist)</visible>
                <include>VisibleFadeEffect</include>
                <control type="label">
                    <description>Title label</description>
                    <left>180</left>
                    <top>220</top>
                    <height>20</height>
                    <width>540</width>
                    <label>20386</label>
                    <align>center</align>
                    <aligny>center</aligny>
                    <font>font12_title</font>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                </control>
                <control type="list" id="8000">
                    <animation effect="slide" start="0,0" end="90,0" time="0" condition="String.IsEqual(Container(8000).NumItems,4)">conditional</animation>
                    <animation effect="slide" start="0,0" end="180,0" time="0" condition="String.IsEqual(Container(8000).NumItems,3)">conditional</animation>
                    <animation effect="slide" start="0,0" end="270,0" time="0" condition="String.IsEqual(Container(8000).NumItems,2)">conditional</animation>
                    <animation effect="slide" start="0,0" end="360,0" time="0" condition="String.IsEqual(Container(8000).NumItems,1)">conditional</animation>
                    <left>0</left>
                    <top>0</top>
                    <width>900</width>
                    <height>220</height>
                    <onleft>8000</onleft>
                    <onright>8000</onright>
                    <onup>20</onup>
                    <ondown condition="System.HasAddon(script.globalsearch)">608</ondown>
                    <ondown condition="!System.HasAddon(script.globalsearch)">603</ondown>
                    <viewtype label="535">list</viewtype>
                    <pagecontrol/>
                    <scrolltime>200</scrolltime>
                    <orientation>Horizontal</orientation>
                    <itemlayout height="220" width="180">
                        <control type="image">
                            <description>background</description>
                            <left>0</left>
                            <top>0</top>
                            <width>180</width>
                            <height>220</height>
                            <texture border="15">RecentAddedBack.png</texture>
                        </control>
                        <control type="image">
                            <left>10</left>
                            <top>10</top>
                            <width>160</width>
                            <height>170</height>
                            <texture background="true">$INFO[ListItem.Icon]</texture>
                            <aspectratio>keep</aspectratio>
                            <bordertexture border="5">button-nofocus.png</bordertexture>
                            <bordersize>5</bordersize>
                        </control>
                        <control type="label">
                            <left>15</left>
                            <top>185</top>
                            <width>150</width>
                            <height>20</height>
                            <font>font12</font>
                            <textcolor>white</textcolor>
                            <shadowcolor>black</shadowcolor>
                            <selectedcolor>selected</selectedcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label]</label>
                        </control>
                    </itemlayout>
                    <focusedlayout height="220" width="180">
                        <control type="image">
                            <description>background</description>
                            <left>0</left>
                            <top>0</top>
                            <width>180</width>
                            <height>220</height>
                            <texture border="15">RecentAddedBack.png</texture>
                        </control>
                        <control type="image">
                            <left>10</left>
                            <top>10</top>
                            <width>160</width>
                            <height>170</height>
                            <texture background="true">$INFO[ListItem.Icon]</texture>
                            <aspectratio>keep</aspectratio>
                            <bordertexture border="5">folder-focus.png</bordertexture>
                            <bordersize>5</bordersize>
                            <visible>Control.HasFocus(8000)</visible>
                        </control>
                        <control type="image">
                            <left>10</left>
                            <top>10</top>
                            <width>160</width>
                            <height>170</height>
                            <texture>$INFO[ListItem.Icon]</texture>
                            <aspectratio>keep</aspectratio>
                            <bordertexture border="5">button-nofocus.png</bordertexture>
                            <bordersize>5</bordersize>
                            <visible>!Control.HasFocus(8000)</visible>
                        </control>
                        <control type="label">
                            <left>15</left>
                            <top>185</top>
                            <width>150</width>
                            <height>20</height>
                            <font>font12</font>
                            <textcolor>white</textcolor>
                            <shadowcolor>black</shadowcolor>
                            <selectedcolor>selected</selectedcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label]</label>
                            <visible>!Control.HasFocus(8000)</visible>
                        </control>
                        <control type="label">
                            <left>15</left>
                            <top>185</top>
                            <width>150</width>
                            <height>20</height>
                            <font>font12</font>
                            <textcolor>blue</textcolor>
                            <selectedcolor>selected</selectedcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label]</label>
                            <visible>Control.HasFocus(8000)</visible>
                        </control>
                    </focusedlayout>
                    <content>
                        <item>
                            <label>$INFO[Window.Property(LatestMovie.1.Title)]</label>
                            <label2 />
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.1.Path)])</onclick>
                            <icon>DefaultVideoCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestMovie.1.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestMovie.1.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestMovie.2.Title)]</label>
                            <label2 />
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.2.Path)])</onclick>
                            <icon>DefaultVideoCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestMovie.2.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestMovie.2.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestMovie.3.Title)]</label>
                            <label2 />
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.3.Path)])</onclick>
                            <icon>DefaultVideoCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestMovie.3.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestMovie.3.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestMovie.4.Title)]</label>
                            <label2 />
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.4.Path)])</onclick>
                            <icon>DefaultVideoCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestMovie.4.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestMovie.4.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestMovie.5.Title)]</label>
                            <label2 />
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.5.Path)])</onclick>
                            <icon>DefaultVideoCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestMovie.5.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestMovie.5.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestMovie.6.Title)]</label>
                            <label2 />
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.6.Path)])</onclick>
                            <icon>DefaultVideoCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestMovie.6.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestMovie.6.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestMovie.7.Title)]</label>
                            <label2 />
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.7.Path)])</onclick>
                            <icon>DefaultVideoCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestMovie.7.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestMovie.7.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestMovie.8.Title)]</label>
                            <label2 />
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.8.Path)])</onclick>
                            <icon>DefaultVideoCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestMovie.8.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestMovie.8.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestMovie.9.Title)]</label>
                            <label2 />
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.9.Path)])</onclick>
                            <icon>DefaultVideoCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestMovie.9.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestMovie.9.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestMovie.10.Title)]</label>
                            <label2 />
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.10.Path)])</onclick>
                            <icon>DefaultVideoCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestMovie.10.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestMovie.10.Title))</visible>
                        </item>
                    </content>
                </control>
                <control type="button">
                    <description>left Arrow</description>
                    <left>-40</left>
                    <top>90</top>
                    <width>30</width>
                    <height>40</height>
                    <texturefocus>arrow-big-left.png</texturefocus>
                    <texturenofocus>arrow-big-left.png</texturenofocus>
                    <onclick>Control.Move(8000,-1)</onclick>
                    <visible>Control.HasFocus(8000) + Container(8000).HasPrevious</visible>
                    <include>VisibleFadeEffect</include>
                </control>
                <control type="button">
                    <description>right Arrow</description>
                    <left>910</left>
                    <top>90</top>
                    <width>30</width>
                    <height>40</height>
                    <texturefocus>arrow-big-right.png</texturefocus>
                    <texturenofocus>arrow-big-right.png</texturenofocus>
                    <onclick>Control.Move(8000,1)</onclick>
                    <visible>Control.HasFocus(8000) + Container(8000).HasNext</visible>
                    <include>VisibleFadeEffect</include>
                </control>
            </control>
            <control type="group">
                <left>160</left>
                <top>50</top>
                <visible>Library.HasContent(TVShows)</visible>
                <visible>Container(9000).Hasfocus(11) + !Skin.HasSetting(HomepageHideRecentlyAddedVideo) + !Skin.HasSetting(HomeMenuTVShowUsePlaylist)</visible>
                <include>VisibleFadeEffect</include>
                <control type="label">
                    <description>Title label</description>
                    <left>240</left>
                    <top>220</top>
                    <height>20</height>
                    <width>480</width>
                    <label>20387</label>
                    <align>center</align>
                    <aligny>center</aligny>
                    <font>font12_title</font>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                </control>
                <control type="list" id="8001">
                    <animation effect="slide" start="0,0" end="120,0" time="0" condition="String.IsEqual(Container(8001).NumItems,3)">conditional</animation>
                    <animation effect="slide" start="0,0" end="240,0" time="0" condition="String.IsEqual(Container(8001).NumItems,2)">conditional</animation>
                    <animation effect="slide" start="0,0" end="360,0" time="0" condition="String.IsEqual(Container(8001).NumItems,1)">conditional</animation>
                    <left>0</left>
                    <top>0</top>
                    <width>960</width>
                    <height>240</height>
                    <onleft>8001</onleft>
                    <onright>8001</onright>
                    <onup>20</onup>
                    <ondown condition="System.HasAddon(script.globalsearch)">608</ondown>
                    <ondown condition="!System.HasAddon(script.globalsearch)">603</ondown>
                    <viewtype label="535">list</viewtype>
                    <pagecontrol/>
                    <scrolltime>200</scrolltime>
                    <orientation>Horizontal</orientation>
                    <itemlayout height="220" width="240">
                        <control type="image">
                            <description>background</description>
                            <left>0</left>
                            <top>0</top>
                            <width>240</width>
                            <height>220</height>
                            <texture border="15">RecentAddedBack.png</texture>
                        </control>
                        <control type="image">
                            <left>10</left>
                            <top>10</top>
                            <width>220</width>
                            <height>155</height>
                            <aspectratio>scale</aspectratio>
                            <texture background="true">$INFO[ListItem.Icon]</texture>
                            <bordertexture border="5">button-nofocus.png</bordertexture>
                            <bordersize>5</bordersize>
                        </control>
                        <control type="label">
                            <left>20</left>
                            <top>168</top>
                            <width>200</width>
                            <height>20</height>
                            <font>font10</font>
                            <textcolor>grey2</textcolor>
                            <shadowcolor>black</shadowcolor>
                            <selectedcolor>selected</selectedcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label2]</label>
                        </control>
                        <control type="label">
                            <left>20</left>
                            <top>185</top>
                            <width>200</width>
                            <height>20</height>
                            <font>font12</font>
                            <textcolor>white</textcolor>
                            <shadowcolor>black</shadowcolor>
                            <selectedcolor>selected</selectedcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label]</label>
                        </control>
                    </itemlayout>
                    <focusedlayout height="220" width="240">
                        <control type="image">
                            <description>background</description>
                            <left>0</left>
                            <top>0</top>
                            <width>240</width>
                            <height>220</height>
                            <texture border="15">RecentAddedBack.png</texture>
                        </control>
                        <control type="image">
                            <left>10</left>
                            <top>10</top>
                            <width>220</width>
                            <height>155</height>
                            <aspectratio>scale</aspectratio>
                            <texture background="true">$INFO[ListItem.Icon]</texture>
                            <bordertexture border="5">folder-focus.png</bordertexture>
                            <bordersize>5</bordersize>
                            <visible>Control.HasFocus(8001)</visible>
                        </control>
                        <control type="image">
                            <left>10</left>
                            <top>10</top>
                            <width>220</width>
                            <height>155</height>
                            <aspectratio>scale</aspectratio>
                            <texture>$INFO[ListItem.Icon]</texture>
                            <bordertexture border="5">button-nofocus.png</bordertexture>
                            <bordersize>5</bordersize>
                            <visible>!Control.HasFocus(8001)</visible>
                        </control>
                        <control type="label">
                            <left>20</left>
                            <top>168</top>
                            <width>200</width>
                            <height>20</height>
                            <font>font10</font>
                            <textcolor>grey2</textcolor>
                            <shadowcolor>black</shadowcolor>
                            <selectedcolor>selected</selectedcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label2]</label>
                        </control>
                        <control type="label">
                            <left>20</left>
                            <top>185</top>
                            <width>200</width>
                            <height>20</height>
                            <font>font12</font>
                            <textcolor>white</textcolor>
                            <shadowcolor>black</shadowcolor>
                            <selectedcolor>selected</selectedcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label]</label>
                            <visible>!Control.HasFocus(8001)</visible>
                        </control>
                        <control type="label">
                            <left>20</left>
                            <top>185</top>
                            <width>200</width>
                            <height>20</height>
                            <font>font12</font>
                            <textcolor>blue</textcolor>
                            <selectedcolor>selected</selectedcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label]</label>
                            <visible>Control.HasFocus(8001)</visible>
                        </control>
                    </focusedlayout>
                    <content>
                        <item>
                            <label>$INFO[Window.Property(LatestEpisode.1.EpisodeTitle)]</label>
                            <label2>$INFO[Window.Property(LatestEpisode.1.ShowTitle)] - [UPPERCASE]$INFO[Window.Property(LatestEpisode.1.EpisodeNo)][/UPPERCASE]</label2>
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.1.Path)])</onclick>
                            <icon>$INFO[Window.Property(LatestEpisode.1.Fanart)]</icon>
                            <thumb>$INFO[Window.Property(LatestEpisode.1.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestEpisode.1.EpisodeTitle))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestEpisode.2.EpisodeTitle)]</label>
                            <label2>$INFO[Window.Property(LatestEpisode.2.ShowTitle)] - [UPPERCASE]$INFO[Window.Property(LatestEpisode.2.EpisodeNo)][/UPPERCASE]</label2>
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.2.Path)])</onclick>
                            <icon>$INFO[Window.Property(LatestEpisode.2.Fanart)]</icon>
                            <thumb>$INFO[Window.Property(LatestEpisode.2.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestEpisode.2.EpisodeTitle))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestEpisode.3.EpisodeTitle)]</label>
                            <label2>$INFO[Window.Property(LatestEpisode.3.ShowTitle)] - [UPPERCASE]$INFO[Window.Property(LatestEpisode.3.EpisodeNo)][/UPPERCASE]</label2>
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.3.Path)])</onclick>
                            <icon>$INFO[Window.Property(LatestEpisode.3.Fanart)]</icon>
                            <thumb>$INFO[Window.Property(LatestEpisode.3.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestEpisode.3.EpisodeTitle))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestEpisode.4.EpisodeTitle)]</label>
                            <label2>$INFO[Window.Property(LatestEpisode.4.ShowTitle)] - [UPPERCASE]$INFO[Window.Property(LatestEpisode.4.EpisodeNo)][/UPPERCASE]</label2>
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.4.Path)])</onclick>
                            <icon>$INFO[Window.Property(LatestEpisode.4.Fanart)]</icon>
                            <thumb>$INFO[Window.Property(LatestEpisode.4.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestEpisode.4.EpisodeTitle))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestEpisode.5.EpisodeTitle)]</label>
                            <label2>$INFO[Window.Property(LatestEpisode.5.ShowTitle)] - [UPPERCASE]$INFO[Window.Property(LatestEpisode.5.EpisodeNo)][/UPPERCASE]</label2>
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.5.Path)])</onclick>
                            <icon>$INFO[Window.Property(LatestEpisode.5.Fanart)]</icon>
                            <thumb>$INFO[Window.Property(LatestEpisode.5.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestEpisode.5.EpisodeTitle))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestEpisode.6.EpisodeTitle)]</label>
                            <label2>$INFO[Window.Property(LatestEpisode.6.ShowTitle)] - [UPPERCASE]$INFO[Window.Property(LatestEpisode.6.EpisodeNo)][/UPPERCASE]</label2>
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.6.Path)])</onclick>
                            <icon>$INFO[Window.Property(LatestEpisode.6.Fanart)]</icon>
                            <thumb>$INFO[Window.Property(LatestEpisode.6.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestEpisode.6.EpisodeTitle))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestEpisode.7.EpisodeTitle)]</label>
                            <label2>$INFO[Window.Property(LatestEpisode.7.ShowTitle)] - [UPPERCASE]$INFO[Window.Property(LatestEpisode.7.EpisodeNo)][/UPPERCASE]</label2>
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.7.Path)])</onclick>
                            <icon>$INFO[Window.Property(LatestEpisode.7.Fanart)]</icon>
                            <thumb>$INFO[Window.Property(LatestEpisode.7.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestEpisode.7.EpisodeTitle))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestEpisode.8.EpisodeTitle)]</label>
                            <label2>$INFO[Window.Property(LatestEpisode.8.ShowTitle)] - [UPPERCASE]$INFO[Window.Property(LatestEpisode.8.EpisodeNo)][/UPPERCASE]</label2>
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.8.Path)])</onclick>
                            <icon>$INFO[Window.Property(LatestEpisode.8.Fanart)]</icon>
                            <thumb>$INFO[Window.Property(LatestEpisode.8.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestEpisode.8.EpisodeTitle))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestEpisode.9.EpisodeTitle)]</label>
                            <label2>$INFO[Window.Property(LatestEpisode.9.ShowTitle)] - [UPPERCASE]$INFO[Window.Property(LatestEpisode.9.EpisodeNo)][/UPPERCASE]</label2>
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.9.Path)])</onclick>
                            <icon>$INFO[Window.Property(LatestEpisode.9.Fanart)]</icon>
                            <thumb>$INFO[Window.Property(LatestEpisode.9.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestEpisode.9.EpisodeTitle))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestEpisode.10.EpisodeTitle)]</label>
                            <label2>$INFO[Window.Property(LatestEpisode.10.ShowTitle)] - [UPPERCASE]$INFO[Window.Property(LatestEpisode.10.EpisodeNo)][/UPPERCASE]</label2>
                            <onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.10.Path)])</onclick>
                            <icon>$INFO[Window.Property(LatestEpisode.10.Fanart)]</icon>
                            <thumb>$INFO[Window.Property(LatestEpisode.10.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestEpisode.10.EpisodeTitle))</visible>
                        </item>
                    </content>
                </control>
                <control type="button">
                    <description>left Arrow</description>
                    <left>-40</left>
                    <top>90</top>
                    <width>30</width>
                    <height>40</height>
                    <texturefocus>arrow-big-left.png</texturefocus>
                    <texturenofocus>arrow-big-left.png</texturenofocus>
                    <onclick>Control.Move(8001,-1)</onclick>
                    <visible>Control.HasFocus(8001) + Container(8001).HasPrevious</visible>
                    <include>VisibleFadeEffect</include>
                </control>
                <control type="button">
                    <description>right Arrow</description>
                    <left>970</left>
                    <top>90</top>
                    <width>30</width>
                    <height>40</height>
                    <texturefocus>arrow-big-right.png</texturefocus>
                    <texturenofocus>arrow-big-right.png</texturenofocus>
                    <onclick>Control.Move(8001,1)</onclick>
                    <visible>Control.HasFocus(8001) + Container(8001).HasNext</visible>
                    <include>VisibleFadeEffect</include>
                </control>
            </control>
            <control type="group">
                <left>240</left>
                <top>50</top>
                <visible>Library.HasContent(Music)</visible>
                <visible>Container(9000).Hasfocus(3) + !Skin.HasSetting(HomepageHideRecentlyAddedAlbums) + !Skin.HasSetting(HomeMenuMusicUsePlaylist)</visible>
                <include>VisibleFadeEffect</include>
                <control type="label">
                    <description>Title label</description>
                    <left>160</left>
                    <top>220</top>
                    <height>20</height>
                    <width>480</width>
                    <label>359</label>
                    <align>center</align>
                    <aligny>center</aligny>
                    <font>font12_title</font>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                </control>
                <control type="list" id="8002">
                    <animation effect="slide" start="0,0" end="100,0" time="0" condition="String.IsEqual(Container(8002).NumItems,3)">conditional</animation>
                    <animation effect="slide" start="0,0" end="200,0" time="0" condition="String.IsEqual(Container(8002).NumItems,2)">conditional</animation>
                    <animation effect="slide" start="0,0" end="300,0" time="0" condition="String.IsEqual(Container(8002).NumItems,1)">conditional</animation>
                    <left>0</left>
                    <top>0</top>
                    <width>800</width>
                    <height>240</height>
                    <onleft>8002</onleft>
                    <onright>8002</onright>
                    <onup>20</onup>
                    <ondown condition="System.HasAddon(script.globalsearch)">608</ondown>
                    <ondown condition="!System.HasAddon(script.globalsearch)">603</ondown>
                    <viewtype label="535">list</viewtype>
                    <pagecontrol/>
                    <scrolltime>200</scrolltime>
                    <orientation>Horizontal</orientation>
                    <itemlayout height="220" width="200">
                        <control type="image">
                            <description>background</description>
                            <left>0</left>
                            <top>0</top>
                            <width>200</width>
                            <height>220</height>
                            <texture border="15">RecentAddedBack.png</texture>
                        </control>
                        <control type="image">
                            <left>10</left>
                            <top>10</top>
                            <width>180</width>
                            <height>155</height>
                            <aspectratio>keep</aspectratio>
                            <texture background="true">$INFO[ListItem.Icon]</texture>
                            <bordertexture border="5">button-nofocus.png</bordertexture>
                            <bordersize>5</bordersize>
                        </control>
                        <control type="label">
                            <left>10</left>
                            <top>170</top>
                            <width>180</width>
                            <height>20</height>
                            <font>font10</font>
                            <textcolor>grey2</textcolor>
                            <shadowcolor>black</shadowcolor>
                            <selectedcolor>selected</selectedcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label2]</label>
                        </control>
                        <control type="label">
                            <left>10</left>
                            <top>190</top>
                            <width>180</width>
                            <height>20</height>
                            <font>font12</font>
                            <textcolor>white</textcolor>
                            <shadowcolor>black</shadowcolor>
                            <selectedcolor>selected</selectedcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label]</label>
                        </control>
                    </itemlayout>
                    <focusedlayout height="220" width="200">
                        <control type="image">
                            <description>background</description>
                            <left>0</left>
                            <top>0</top>
                            <width>200</width>
                            <height>220</height>
                            <texture border="15">RecentAddedBack.png</texture>
                        </control>
                        <control type="image">
                            <left>10</left>
                            <top>10</top>
                            <width>180</width>
                            <height>155</height>
                            <aspectratio>keep</aspectratio>
                            <texture background="true">$INFO[ListItem.Icon]</texture>
                            <bordertexture border="5">folder-focus.png</bordertexture>
                            <bordersize>5</bordersize>
                            <visible>Control.HasFocus(8002)</visible>
                        </control>
                        <control type="image">
                            <left>10</left>
                            <top>10</top>
                            <width>180</width>
                            <height>155</height>
                            <aspectratio>keep</aspectratio>
                            <texture background="true">$INFO[ListItem.Icon]</texture>
                            <bordertexture border="5">button-nofocus.png</bordertexture>
                            <bordersize>5</bordersize>
                            <visible>!Control.HasFocus(8002)</visible>
                        </control>
                        <control type="label">
                            <left>10</left>
                            <top>170</top>
                            <width>180</width>
                            <height>20</height>
                            <font>font10</font>
                            <textcolor>grey2</textcolor>
                            <shadowcolor>black</shadowcolor>
                            <selectedcolor>selected</selectedcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label2]</label>
                        </control>
                        <control type="label">
                            <left>10</left>
                            <top>190</top>
                            <width>180</width>
                            <height>20</height>
                            <font>font12</font>
                            <textcolor>white</textcolor>
                            <shadowcolor>black</shadowcolor>
                            <selectedcolor>selected</selectedcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label]</label>
                            <visible>!Control.HasFocus(8002)</visible>
                        </control>
                        <control type="label">
                            <left>10</left>
                            <top>190</top>
                            <width>180</width>
                            <height>20</height>
                            <font>font12</font>
                            <textcolor>blue</textcolor>
                            <selectedcolor>selected</selectedcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label]</label>
                            <visible>Control.HasFocus(8002)</visible>
                        </control>
                    </focusedlayout>
                    <content>
                        <item>
                            <label>$INFO[Window.Property(LatestAlbum.1.Title)]</label>
                            <label2>$INFO[Window.Property(LatestAlbum.1.Artist)]</label2>
                            <onclick>PlayList.Clear</onclick>
                            <onclick>PlayMedia("$INFO[Window.Property(LatestAlbum.1.Path)]")</onclick>
                            <icon>DefaultAlbumCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestAlbum.1.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestAlbum.1.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestAlbum.2.Title)]</label>
                            <label2>$INFO[Window.Property(LatestAlbum.2.Artist)]</label2>
                            <onclick>PlayList.Clear</onclick>
                            <onclick>PlayMedia("$INFO[Window.Property(LatestAlbum.2.Path)]")</onclick>
                            <icon>DefaultAlbumCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestAlbum.2.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestAlbum.2.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestAlbum.3.Title)]</label>
                            <label2>$INFO[Window.Property(LatestAlbum.3.Artist)]</label2>
                            <onclick>PlayList.Clear</onclick>
                            <onclick>PlayMedia("$INFO[Window.Property(LatestAlbum.3.Path)]")</onclick>
                            <icon>DefaultAlbumCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestAlbum.3.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestAlbum.3.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestAlbum.4.Title)]</label>
                            <label2>$INFO[Window.Property(LatestAlbum.4.Artist)]</label2>
                            <onclick>PlayList.Clear</onclick>
                            <onclick>PlayMedia("$INFO[Window.Property(LatestAlbum.4.Path)]")</onclick>
                            <icon>DefaultAlbumCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestAlbum.4.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestAlbum.4.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestAlbum.5.Title)]</label>
                            <label2>$INFO[Window.Property(LatestAlbum.5.Artist)]</label2>
                            <onclick>PlayList.Clear</onclick>
                            <onclick>PlayMedia("$INFO[Window.Property(LatestAlbum.5.Path)]")</onclick>
                            <icon>DefaultAlbumCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestAlbum.5.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestAlbum.5.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestAlbum.6.Title)]</label>
                            <label2>$INFO[Window.Property(LatestAlbum.6.Artist)]</label2>
                            <onclick>PlayList.Clear</onclick>
                            <onclick>PlayMedia("$INFO[Window.Property(LatestAlbum.6.Path)]")</onclick>
                            <icon>DefaultAlbumCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestAlbum.6.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestAlbum.6.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestAlbum.7.Title)]</label>
                            <label2>$INFO[Window.Property(LatestAlbum.7.Artist)]</label2>
                            <onclick>PlayList.Clear</onclick>
                            <onclick>PlayMedia("$INFO[Window.Property(LatestAlbum.7.Path)]")</onclick>
                            <icon>DefaultAlbumCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestAlbum.7.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestAlbum.7.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestAlbum.8.Title)]</label>
                            <label2>$INFO[Window.Property(LatestAlbum.8.Artist)]</label2>
                            <onclick>PlayList.Clear</onclick>
                            <onclick>PlayMedia("$INFO[Window.Property(LatestAlbum.8.Path)]")</onclick>
                            <icon>DefaultAlbumCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestAlbum.8.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestAlbum.8.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestAlbum.9.Title)]</label>
                            <label2>$INFO[Window.Property(LatestAlbum.9.Artist)]</label2>
                            <onclick>PlayList.Clear</onclick>
                            <onclick>PlayMedia("$INFO[Window.Property(LatestAlbum.9.Path)]")</onclick>
                            <icon>DefaultAlbumCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestAlbum.9.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestAlbum.9.Title))</visible>
                        </item>
                        <item>
                            <label>$INFO[Window.Property(LatestAlbum.10.Title)]</label>
                            <label2>$INFO[Window.Property(LatestAlbum.10.Artist)]</label2>
                            <onclick>PlayList.Clear</onclick>
                            <onclick>PlayMedia("$INFO[Window.Property(LatestAlbum.10.Path)]")</onclick>
                            <icon>DefaultAlbumCover.png</icon>
                            <thumb>$INFO[Window.Property(LatestAlbum.10.Thumb)]</thumb>
                            <visible>!String.IsEmpty(Window.Property(LatestAlbum.10.Title))</visible>
                        </item>
                    </content>
                </control>
                <control type="button">
                    <description>left Arrow</description>
                    <left>-40</left>
                    <top>90</top>
                    <width>30</width>
                    <height>40</height>
                    <texturefocus>arrow-big-left.png</texturefocus>
                    <texturenofocus>arrow-big-left.png</texturenofocus>
                    <onclick>Control.Move(8002,-1)</onclick>
                    <visible>Control.HasFocus(8002) + Container(8002).HasPrevious</visible>
                    <include>VisibleFadeEffect</include>
                </control>
                <control type="button">
                    <description>right Arrow</description>
                    <left>810</left>
                    <top>90</top>
                    <width>30</width>
                    <height>40</height>
                    <texturefocus>arrow-big-right.png</texturefocus>
                    <texturenofocus>arrow-big-right.png</texturenofocus>
                    <onclick>Control.Move(8002,1)</onclick>
                    <visible>Control.HasFocus(8002) + Container(8002).HasNext</visible>
                    <include>VisibleFadeEffect</include>
                </control>
            </control>
        </control>
    </include>
</includes>
Reply
#3
(2019-12-15, 13:18)Hitcher Wrote: IncludesHomeRecentlyAdded.xml

xml:
<?xml version="1.0" encoding="UTF-8"?>
<includes>
    <include name="HomeRecentlyAddedInfo">
        <control type="group" id="9003">
            <depth>DepthMenu</depth>
     ......

Hi,

I assume this was a reply to my post so thank you, however the skin I'm using (Xonfluence) doesn't have the file IncludesHomeRecentlyAdded.xml. I have created the file with your xml but it didn't change it. I posted this in the Xonfluence subforum but I'm not sure if it's Skin specific and that subforum doesn't get the most traffic unfortunately.

Here is a link to my IncludesHomeWidget.xml and a hastebin (split into 2) of its content in case that helps:

File - https://filebin.ca/55OcQSMe0JLp/IncludesHomeWidget.xml
Hastebin Part 1 - https://hastebin.com/bejobiyemo.xml 
Hastebin Part 2 - https://hastebin.com/gafehogexi.xml

Thank you in advance.
Reply
#4
As you didn't specify a skin I assumed it was Confluence from the screen shot.

Nothing in that XML so I guess it's in an include somewhere. Look for $INFO[Window.Property(LatestEpisode.1.EpisodeNo)] in them and then wrap that and all the other ones in the uppercase code [UPPERCASE]$INFO[Window.Property(LatestEpisode.1.EpisodeNo)][/UPPERCASE].
Reply
#5
(2019-12-15, 14:38)Hitcher Wrote: As you didn't specify a skin I assumed it was Confluence from the screen shot.

Nothing in that XML so I guess it's in an include somewhere. Look for $INFO[Window.Property(LatestEpisode.1.EpisodeNo)] in them and then wrap that and all the other ones in the uppercase code [UPPERCASE]$INFO[Window.Property(LatestEpisode.1.EpisodeNo)][/UPPERCASE].

Hi,

Thank you for your reply. I have found it in IncludesHomeWidget.xml at line 3548:

xml:

 <item>
                <label>$INFO[Window.Property(LatestEpisode.1.EpisodeTitle)]</label>
                <label2>$INFO[Window.Property(LatestEpisode.1.ShowTitle)] - $INFO[Window.Property(LatestEpisode.1.EpisodeNo)]</label2>
                <onclick>PlayList.Clear</onclick>
                <onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.1.Path)])</onclick>
                <icon>$INFO[Window.Property(LatestEpisode.1.Thumb)]</icon>
                <thumb>$INFO[Window.Property(LatestEpisode.1.Fanart)]</thumb>
                <visible>!String.IsEmpty(Window.Property(LatestEpisode.1.EpisodeTitle)) + !String.Contains(Window(Home).Property(SkinWidgets_RecentItems),true)</visible>
            </item>


xml:

 <item>
                <label>$INFO[Window.Property(LatestEpisode.1.EpisodeTitle)]</label>
                <label2>$INFO[Window.Property(LatestEpisode.1.ShowTitle)] - [UPPERCASE]$INFO[Window.Property(LatestEpisode.1.EpisodeNo)][/UPPERCASE]</label2>
                <onclick>PlayList.Clear</onclick>
                <onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.1.Path)])</onclick>
                <icon>$INFO[Window.Property(LatestEpisode.1.Thumb)]</icon>
                <thumb>$INFO[Window.Property(LatestEpisode.1.Fanart)]</thumb>
                <visible>!String.IsEmpty(Window.Property(LatestEpisode.1.EpisodeTitle)) + !String.Contains(Window(Home).Property(SkinWidgets_RecentItems),true)</visible>
            </item>

Which works when KODI first loads and I see the Show - Episode (uppercase) but then the widget reloads/refreshes and it goes back to Show - Episode (lowercase).

Do I need to add it elsewhere? Thank you for your help so far.
Reply
#6
As I said you need to add it to Window.Property(LatestEpisode.1.EpisodeNo)Window.Property(LatestEpisode.2.EpisodeNo), etc.
Reply
#7
(2019-12-15, 15:41)Hitcher Wrote: As I said you need to add it to Window.Property(LatestEpisode.1.EpisodeNo)Window.Property(LatestEpisode.2.EpisodeNo), etc.
Hi,

Sorry yes I had done each of them but there was 2 places for each episode (recent episode and latest episode) and I had only spotted one of them. Thank you very much for your help.

1 last question please, how do I stop these amendments to the xml file being overwritten the next time the skin updates?

Thank you again.

G
Reply
#8
(2019-12-15, 18:45)Gaz2016 Wrote: 1 last question please, how do I stop these amendments to the xml file being overwritten the next time the skin updates?
If you want the skin to update you'll have to redo it each time.
Reply

Logout Mark Read Team Forum Stats Members Help
Change s01e01 to uppercase S01E010