Add live tv to home screen

This commit is contained in:
Chris Bevan 2015-07-16 22:02:34 +01:00
parent 3913348a65
commit 63568e2aec
2 changed files with 14 additions and 3 deletions

View File

@ -26,12 +26,23 @@
</animation> </animation>
<itemlayout width="3-col" height="3-col"> <itemlayout width="3-col" height="3-col">
<control type="image"> <control type="image">
<visible>Container(9000).HasFocus(10)</visible>
<posx>0</posx> <posx>0</posx>
<posy>0</posy> <posy>0</posy>
<width>3-col-textbox</width> <width>3-col-textbox</width>
<height>3-col-textbox</height> <height>3-col-textbox</height>
<aspectratio>scale</aspectratio> <aspectratio>scale</aspectratio>
<texture fallback="colors/black.png" border="0">$INFO[Listitem.art(thumb)]</texture> <texture fallback="colors/black.png" border="0">$INFO[Listitem.art(poster)]</texture>
<colordiffuse>44FFFFFF</colordiffuse>
</control>
<control type="image">
<visible>!Container(9000).HasFocus(10)</visible>
<posx>0</posx>
<posy>0</posy>
<width>3-col-textbox</width>
<height>3-col-textbox</height>
<aspectratio>scale</aspectratio>
<texture fallback="colors/black.png" border="0">$INFO[Listitem.thumb]</texture>
<colordiffuse>44FFFFFF</colordiffuse> <colordiffuse>44FFFFFF</colordiffuse>
</control> </control>
</itemlayout> </itemlayout>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="episodes"> <smartplaylist type="tvshows">
<name>Random episodes</name> <name>Random tvshows</name>
<match>all</match> <match>all</match>
<limit>50</limit> <limit>50</limit>
<order direction="ascending">random</order> <order direction="ascending">random</order>