2013-05-14, 07:42
To add recent added to your custom list as well simply for example:
Open IncludesRecentItems.xml and after line 724 (should be a
Add:
Open IncludesRecentItems.xml and after line 724 (should be a
Code:
</control>
Add:
Code:
<control type="group">
<visible>!Skin.HasSetting(Recently Added TV)</visible>
<visible>!Skin.HasSetting(random_items TV)</visible>
<animation effect="fade" time="300">Visible</animation>
<animation effect="fade" time="300">Hidden</animation>
<animation effect="fade" time="300" delay="1000">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
<control type="group">
<posx>5</posx>
<posy>10</posy>
<visible>Control.HasFocus(11) | Control.HasFocus(8001)</visible>
<visible>Container(11).Hasfocus(13)</visible>
<include>HomeAnimate</include>
<control type="image">
<description>background</description>
<posx>0</posx>
<posy>0</posy>
<width>525</width>
<height>206</height>
<texture diffuse="">List background3.png</texture>
</control>
<control type="label">
<description>Title label</description>
<posx>5</posx>
<posy>10</posy>
<height>20</height>
<width>515</width>
<label>$LOCALIZE[31107]</label>
<align>center</align>
<aligny>center</aligny>
<font>font14-caps</font>
<textcolor>white</textcolor>
<shadowcolor>000000</shadowcolor>
<selectedcolor>white</selectedcolor>
</control>
<control type="image">
<description>Main Icon</description>
<posx>30</posx>
<posy>40</posy>
<width>225</width>
<height>136</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<fadetime>200</fadetime>
<texture background="true" diffuse="mask episode.png" fallback="defaultepisode.png">$INFO[Container(8001).ListItem.Thumb]</texture>
<animation effect="fade" time="300">Visible</animation>
<animation effect="fade" time="300">Hidden</animation>
</control>
<control type="list" id="8001">
<posx>260</posx>
<posy>40</posy>
<width>250</width>
<height>136</height>
<onleft>11</onleft>
<onright>11</onright>
<onup>8002</onup>
<ondown>8001</ondown>
<viewtype label="535">list</viewtype>
<pagecontrol>-</pagecontrol>
<scrolltime tween="sine" easing="inout">0</scrolltime>
<itemlayout height="34" width="250">
<control type="label">
<posx>5</posx>
<posy>4</posy>
<width>235</width>
<height>8</height>
<font>font10-caps</font>
<textcolor>grey</textcolor>
<shadowcolor>00000000</shadowcolor>
<selectedcolor>white</selectedcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label2]</label>
</control>
<control type="label">
<posx>5</posx>
<posy>15</posy>
<width>235</width>
<height>16</height>
<font>font64-caps</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<selectedcolor>white</selectedcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
</control>
</itemlayout>
<focusedlayout height="34" width="250">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>245</width>
<height>34</height>
<texture>button1.png</texture>
<colordiffuse>AAffffff</colordiffuse>
<visible>Control.HasFocus(8001)</visible>
<include>List Scrollrecent</include>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>245</width>
<height>34</height>
<texture>input-focus.png</texture>
<colordiffuse>AAffffff</colordiffuse>
<visible>Control.HasFocus(8001)</visible>
<include>List Scrollrecent</include>
</control>
<control type="label">
<posx>5</posx>
<posy>4</posy>
<width>235</width>
<height>8</height>
<font>font10-caps</font>
<textcolor>grey</textcolor>
<shadowcolor>00000000</shadowcolor>
<selectedcolor>white</selectedcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label2]</label>
</control>
<control type="label">
<posx>5</posx>
<posy>15</posy>
<width>235</width>
<height>16</height>
<font>font64-caps</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<selectedcolor>white</selectedcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
<content>
<item id="1">
<label>$INFO[Window.Property(RecentEpisode.1.Title)]</label>
<label2>$INFO[Window.Property(RecentEpisode.1.TVshowTitle)] - $INFO[Window.Property(RecentEpisode.1.EpisodeNo)]</label2>
<onclick>$INFO[Window(Home).Property(RecentEpisode.1.Play)]</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(RecentEpisode.1.Art(thumb))]</thumb>
<property name="FanartImage">$INFO[Window.Property(RecentEpisode.1.Art(tvshow.fanart))]</property>
</item>
<item id="2">
<label>$INFO[Window.Property(RecentEpisode.2.Title)]</label>
<label2>$INFO[Window.Property(RecentEpisode.2.TVshowTitle)] - $INFO[Window.Property(RecentEpisode.2.EpisodeNo)]</label2>
<onclick>$INFO[Window(Home).Property(RecentEpisode.2.Play)]</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(RecentEpisode.2.Art(thumb))]</thumb>
<property name="FanartImage">$INFO[Window.Property(RecentEpisode.2.Art(tvshow.fanart))]</property>
</item>
<item id="3">
<label>$INFO[Window.Property(RecentEpisode.3.Title)]</label>
<label2>$INFO[Window.Property(RecentEpisode.3.TVshowTitle)] - $INFO[Window.Property(RecentEpisode.3.EpisodeNo)]</label2>
<onclick>$INFO[Window(Home).Property(RecentEpisode.3.Play)]</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(RecentEpisode.3.Art(thumb))]</thumb>
<property name="FanartImage">$INFO[Window.Property(RecentEpisode.3.Art(tvshow.fanart))]</property>
</item>
<item id="4">
<label>$INFO[Window.Property(RecentEpisode.4.Title)]</label>
<label2>$INFO[Window.Property(RecentEpisode.4.TVshowTitle)] - $INFO[Window.Property(RecentEpisode.4.EpisodeNo)]</label2>
<onclick>$INFO[Window(Home).Property(RecentEpisode.4.Play)]</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(RecentEpisode.4.Art(thumb))]</thumb>
<property name="FanartImage">$INFO[Window.Property(RecentEpisode.4.Art(tvshow.fanart))]</property>
</item>
<item id="5">
<label>$INFO[Window.Property(RecentEpisode.5.Title)]</label>
<label2>$INFO[Window.Property(RecentEpisode.5.TVshowTitle)] - $INFO[Window.Property(RecentEpisode.5.EpisodeNo)]</label2>
<onclick>$INFO[Window(Home).Property(RecentEpisode.5.Play)]</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(RecentEpisode.5.Art(thumb))]</thumb>
<property name="FanartImage">$INFO[Window.Property(RecentEpisode.5.Art(tvshow.fanart))]</property>
</item>
<item id="6">
<label>$INFO[Window.Property(RecentEpisode.6.Title)]</label>
<label2>$INFO[Window.Property(RecentEpisode.6.TVshowTitle)] - $INFO[Window.Property(RecentEpisode.6.EpisodeNo)]</label2>
<onclick>$INFO[Window(Home).Property(RecentEpisode.6.Play)]</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(RecentEpisode.6.Art(thumb))]</thumb>
<property name="FanartImage">$INFO[Window.Property(RecentEpisode.6.Art(tvshow.fanart))]</property>
</item>
<item id="7">
<label>$INFO[Window.Property(RecentEpisode.7.Title)]</label>
<label2>$INFO[Window.Property(RecentEpisode.7.TVshowTitle)] - $INFO[Window.Property(RecentEpisode.7.EpisodeNo)]</label2>
<onclick>$INFO[Window(Home).Property(RecentEpisode.7.Play)]</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(RecentEpisode.7.Art(thumb))]</thumb>
<property name="FanartImage">$INFO[Window.Property(RecentEpisode.7.Art(tvshow.fanart))]</property>
</item>
<item id="8">
<label>$INFO[Window.Property(RecentEpisode.8.Title)]</label>
<label2>$INFO[Window.Property(RecentEpisode.8.TVshowTitle)] - $INFO[Window.Property(RecentEpisode.8.EpisodeNo)]</label2>
<onclick>$INFO[Window(Home).Property(RecentEpisode.8.Play)]</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(RecentEpisode.8.Art(thumb))]</thumb>
<property name="FanartImage">$INFO[Window.Property(RecentEpisode.8.Art(tvshow.fanart))]</property>
</item>
<item id="9">
<label>$INFO[Window.Property(RecentEpisode.9.Title)]</label>
<label2>$INFO[Window.Property(RecentEpisode.9.TVshowTitle)] - $INFO[Window.Property(RecentEpisode.9.EpisodeNo)]</label2>
<onclick>$INFO[Window(Home).Property(RecentEpisode.9.Play)]</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(RecentEpisode.9.Art(thumb))]</thumb>
<property name="FanartImage">$INFO[Window.Property(RecentEpisode.9.Art(tvshow.fanart))]</property>
</item>
<item id="10">
<label>$INFO[Window.Property(RecentEpisode.10.Title)]</label>
<label2>$INFO[Window.Property(RecentEpisode.10.TVshowTitle)] - $INFO[Window.Property(RecentEpisode.10.EpisodeNo)]</label2>
<onclick>$INFO[Window(Home).Property(RecentEpisode.10.Play)]</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(RecentEpisode.10.Art(thumb))]</thumb>
<property name="FanartImage">$INFO[Window.Property(LatestEpisode.10.Fanart)]</property>
</item>
</content>
</control>
</control>
</control>