2015-05-18, 17:20
I recently switched from XBMC on Windows to Kodi on a Fire TV Stick. On my xbmc PC, i edited the IncludesHomeRecentlyAdded.xml so the "Recently Added Episodes" and "Recently Added Movies" section would hide the videos that were marked as watched.
I copied the xbmc IncludesHomeRecentlyAdded.xml onto the fire tv stick and it worked for the most part. However the text spacing seems to be off centre. See pictures here:
Can anyone help me centre the text? Here's the related snippit from the IncludesHomeRecentlyAdded.xml
Here's the code in it's entirety: http://pastebin.com/Sr2BtYCa
I copied the xbmc IncludesHomeRecentlyAdded.xml onto the fire tv stick and it worked for the most part. However the text spacing seems to be off centre. See pictures here:
Can anyone help me centre the text? Here's the related snippit from the IncludesHomeRecentlyAdded.xml
Code:
<posx>0</posx>
<posy>0</posy>
<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>-</pagecontrol>
<scrolltime>200</scrolltime>
<orientation>Horizontal</orientation>
<focusposition>1</focusposition>
<movement>2</movement>
<itemlayout height="220" width="240">
<control type="image">
<description>background</description>
<posx>0</posx>
<posy>0</posy>
<width>240</width>
<height>220</height>
<texture border="15">RecentAddedBack.png</texture>
</control>
<control type="image">
<posx>10</posx>
<posy>10</posy>
<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">
<posx>120</posx>
<posy>168</posy>
<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">
<posx>120</posx>
<posy>185</posy>
<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>
<posx>0</posx>
<posy>0</posy>
<width>240</width>
<height>220</height>
<texture border="15">RecentAddedBack.png</texture>
</control>
<control type="image">
<posx>10</posx>
<posy>10</posy>
<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">
<posx>10</posx>
<posy>10</posy>
<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">
<posx>120</posx>
<posy>168</posy>
<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">
<posx>120</posx>
<posy>185</posy>
<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>
<control type="label">
<posx>50</posx>
<posy>185</posy>
<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(RecentEpisode.1.EpisodeTitle)]</label>
<label2>$INFO[Window.Property(RecentEpisode.1.ShowTitle)] - $INFO[Window.Property(RecentEpisode.1.EpisodeNo)]</label2>
<onclick>PlayMedia($ESCINFO[Window.Property(RecentEpisode.1.Path)])</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(RecentEpisode.1.Thumb)]</thumb>
<visible>!IsEmpty(Window.Property(RecentEpisode.1.EpisodeTitle))</visible>
</item>
Here's the code in it's entirety: http://pastebin.com/Sr2BtYCa