2010-03-24, 20:08
I can't get a new view for TV Shows working in my skin, and I can't figure out why.
Here is my include
and here is my MyVideoNav.xml
I am entering the TV Shows page directly from the home screen with
Can anyone help?
Here is my include
Code:
<include name="tvserieslist">
<control type="group">
<posx>0</posx>
<posy>0</posy>
<width>1920</width>
<height>1080</height>
<visible>Control.IsVisible(52)</visible>
<control type="image">
<description>White Background</description>
<posx>0</posx>
<posy>0</posy>
<width>1920</width>
<height>1080</height>
<texture>whiteback.jpg</texture>
<aspectratio>-</aspectratio>
</control>
<control type="image">
<posx>17</posx>
<posy>72</posy>
<width>1884</width>
<height>3</height>
<aspectratio>stretch</aspectratio>
<texture>widesep.png</texture>
</control>
<control type="label">
<posx>30</posx>
<posy>30</posy>
<font>Large</font>
<textcolor>Black</textcolor>
<label>TV Shows</label>
</control>
<description>TV Shows Wraplist</description>
<control type="wraplist" id="52">
<visible>Container.Content(tvshows)</visible>
<orientation>vertical</orientation>
<posx>10</posx>
<posy>200</posy>
<width>680</width>
<height>550</height>
<onleft>52</onleft>
<onright>52</onright>
<onup>52</onup>
<ondown>52</ondown>
<viewtype label="tvshowlist">wraplist</viewtype>
<scrolltime>200</scrolltime>
<itemlayout width="600" height="30">
<control type="label">
<posx>0</posx>
<posy>40</posy>
<width>600</width>
<height>30</height>
<font>Small</font>
<textcolor>Black</textcolor>
<info>ListItem.TVShowTitle</info>
</control>
</itemlayout>
<focusedlayout width="600" height="40">
<control type="label">
<posx>0</posx>
<posy>0</posy>
<width>600</width>
<height>40</height>
<font>Large</font>
<textcolor>Black</textcolor>
<info>ListItem.TVShowTitle</info>
</control>
</focusedlayout>
<focusposition>0</focusposition>
</control>
</control>
</include>
and here is my MyVideoNav.xml
Code:
<window id="6">
<defaultcontrol>50</defaultcontrol>
<allowoverlay>no</allowoverlay>
<views>50,51,52</views>
<controls>
<control type="label">
<include>WindowID</include>
<label>MyVideoNav.xml</label>
</control>
<control type="grouplist" id="9000">
<posx>10</posx>
<posy>40</posy>
<width>150</width>
<height>480</height>
<itemgap>2</itemgap>
<onleft>50</onleft>
<onright>50</onright>
<onup>9000</onup>
<ondown>9000</ondown>
<orientation>vertical</orientation>
<control type="button" id="2">
<description>View</description>
<width>150</width>
<textcolor>White</textcolor>
<texturefocus border="1">ButtonFo.png</texturefocus>
<texturenofocus border="1">ButtonNF.png</texturenofocus>
</control>
<control type="button" id="3">
<description>Sort</description>
<width>150</width>
<textcolor>White</textcolor>
<texturefocus border="1">ButtonFo.png</texturefocus>
<texturenofocus border="1">ButtonNF.png</texturenofocus>
</control>
<control type="togglebutton" id="4">
<description>Ascending</description>
<width>150</width>
<label>$LOCALIZE[584]</label>
<altlabel>$LOCALIZE[585]</altlabel>
<textcolor>White</textcolor>
<texturenofocus border="1">ButtonNF.png</texturenofocus>
<texturefocus border="1">ButtonFo.png</texturefocus>
<alttexturenofocus border="1">ButtonNF.png</alttexturenofocus>
<alttexturefocus border="1">ButtonFo.png</alttexturefocus>
</control>
<control type="button" id="99">
<description>Files</description>
<label>$LOCALIZE[744]</label>
<width>150</width>
<textcolor>White</textcolor>
<texturefocus border="1">ButtonFo.png</texturefocus>
<texturenofocus border="1">ButtonNF.png</texturenofocus>
<onclick>replacewindow(myvideofiles)</onclick>
<onclick>setfocus(99)</onclick>
<selected>window.isvisible(myvideolibrary)</selected>
</control>
<control type="button" id="8">
<description>Search</description>
<label>$LOCALIZE[137]</label>
<width>150</width>
<textcolor>White</textcolor>
<texturefocus border="1">ButtonFo.png</texturefocus>
<texturenofocus border="1">ButtonNF.png</texturenofocus>
</control>
<control type="button" id="9">
<description>IMDB</description>
<label>$LOCALIZE[368]</label>
<width>150</width>
<textcolor>White</textcolor>
<texturefocus border="1">ButtonFo.png</texturefocus>
<texturenofocus border="1">ButtonNF.png</texturenofocus>
</control>
</control>
<include>list</include>
<include>movielist</include>
<include>tvserieslist</include>
</controls>
</window>
I am entering the TV Shows page directly from the home screen with
Code:
<item id="2">
<description>TV Shows</description>
<label>TV Shows</label>
<onclick>xbmc.activatewindow(videolibrary,tvshowtitles)</onclick>
</item>
Can anyone help?