Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
prepared documentaries as home entry incl. recently added for them (r…
…equires script.lastandrandomitems)
  • Loading branch information
mad-max committed Feb 16, 2012
1 parent bcbd39f commit 5103ae0
Show file tree
Hide file tree
Showing 2 changed files with 147 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 720p/Home.xml
Expand Up @@ -2,6 +2,7 @@
<defaultcontrol always="true">9000</defaultcontrol>
<onload condition="Window.Previous(startup)+Skin.HasSetting(customstartupfocus)">Control.Move(9000,$INFO[Skin.String(CustomFocusOffset)])</onload>
<onload condition="Skin.HasSetting(watchlist)">RunScript(script.watchlist,movies=true&amp;episodes=true&amp;albums=true&amp;limit=10)</onload>
<onload>XBMC.RunScript(script.randomandlastitems,limit=3,method=Last,playlist=special://skin/playlists/Doku.xsp,menu=Menu1)</onload>
<allowoverlay>no</allowoverlay>
<controls>
<control type="multiimage">
Expand Down Expand Up @@ -1113,6 +1114,14 @@
<thumb>$INFO[Skin.String(Home_Custom_Back_Movies_Folder)]</thumb>
<visible>Skin.HasSetting(HomeMenuNoMoviesButton) + Library.HasContent(Movies)</visible>
</item>
<item id="27">
<description>HD Movies</description>
<label>Dokus</label>
<icon>special://skin/backgrounds/hdmovies.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_HD_Folder)]</thumb>
<onclick>XBMC.ActivateWindow(10025,special://skin/playlists/Doku.xsp,return)</onclick>
<visible>!Skin.HasSetting(HomeMenuNoHDMoviesButton) + Library.HasContent(Movies)</visible>
</item>
<item id="444">
<description>Custom FAV Five</description>
<label>$INFO[Skin.String(Menu_Custom8_Label)]</label>
Expand Down
138 changes: 138 additions & 0 deletions 720p/IncludesHomeRecentlyAdded.xml
Expand Up @@ -291,6 +291,144 @@
</content>
</control>
</control>

<!-- Doku Anfang-->

<control type="group">
<posx>740</posx>
<posy>30</posy>
<visible>Library.HasContent(Movies)</visible>
<visible>Container(9000).Hasfocus(27)</visible>
<include>VisibleFadeEffect</include>
<control type="label">
<description>Title label</description>
<posx>0</posx>
<posy>220</posy>
<height>20</height>
<width>540</width>
<label>40032</label>
<align>center</align>
<aligny>center</aligny>
<font>font12_title</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<animation effect="fade" start="100" end="0" time="300" condition="Control.HasFocus(8001)">Conditional</animation>
</control>
<control type="list" id="8000">
<posx>0</posx>
<posy>0</posy>
<width>900</width>
<height>220</height>
<onleft>SetFocus(8001,3)</onleft>
<onright>SetFocus(8001,3)</onright>
<onup>20</onup>
<ondown>600</ondown>
<viewtype label="535">list</viewtype>
<pagecontrol>-</pagecontrol>
<scrolltime>200</scrolltime>
<orientation>Horizontal</orientation>
<itemlayout height="220" width="180">
<control type="image">
<description>background</description>
<posx>0</posx>
<posy>0</posy>
<width>180</width>
<height>220</height>
<texture border="15">RecentAddedBack.png</texture>
</control>
<control type="image">
<posx>10</posx>
<posy>10</posy>
<width>160</width>
<height>170</height>
<texture background="true">$INFO[ListItem.Icon]</texture>
<bordertexture border="5">button-nofocus.png</bordertexture>
<bordersize>5</bordersize>
</control>
<control type="label">
<posx>90</posx>
<posy>185</posy>
<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>
<posx>0</posx>
<posy>0</posy>
<width>180</width>
<height>220</height>
<texture border="15">RecentAddedBack.png</texture>
</control>
<control type="image">
<posx>10</posx>
<posy>10</posy>
<width>160</width>
<height>170</height>
<texture background="true">$INFO[ListItem.Icon]</texture>
<bordertexture border="5">folder-focus.png</bordertexture>
<bordersize>5</bordersize>
<visible>Control.HasFocus(8000)</visible>
</control>
<control type="image">
<posx>10</posx>
<posy>10</posy>
<width>160</width>
<height>170</height>
<texture>$INFO[ListItem.Icon]</texture>
<bordertexture border="5">button-nofocus.png</bordertexture>
<bordersize>5</bordersize>
<visible>!Control.HasFocus(8000)</visible>
</control>
<control type="label">
<posx>90</posx>
<posy>185</posy>
<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>
</focusedlayout>
<content>
<item id="1">
<label>$INFO[Window.Property(PlaylistLastMovieMenu1.1.Title)]</label>
<label2></label2>
<onclick>PlayMedia($INFO[Window.Property(PlaylistLastMovieMenu1.1.Path)])</onclick>
<icon>$INFO[Window.Property(PlaylistLastMovieMenu1.1.Thumb)]</icon>
<thumb>-</thumb>
</item>
<item id="2">
<label>$INFO[Window.Property(PlaylistLastMovieMenu1.2.Title)]</label>
<label2></label2>
<onclick>PlayMedia($INFO[Window.Property(PlaylistLastMovieMenu1.2.Path)])</onclick>
<icon>$INFO[Window.Property(PlaylistLastMovieMenu1.2.Thumb)]</icon>
<thumb>-</thumb>
</item>
<item id="3">
<label>$INFO[Window.Property(PlaylistLastMovieMenu1.3.Title)]</label>
<label2></label2>
<onclick>PlayMedia($INFO[Window.Property(PlaylistLastMovieMenu1.3.Path)])</onclick>
<icon>$INFO[Window.Property(PlaylistLastMovieMenu1.3.Thumb)]</icon>
<thumb>-</thumb>
</item>
</content>
</control>
</control>

<!-- Doku Ende-->

<control type="group">
<posx>0</posx>
Expand Down

0 comments on commit 5103ae0

Please sign in to comment.