2006-02-20, 19:56
g'day guys/ladies
having problem creating custom xml page. i have differnt catagories, of files. i want to change the background for each. example anime/tv series/movies/etc... i read up on creating custom pages. i manage to get to a point where i was able to create the custome page. but for some reason the custom page does not allow me to view my network files. what i have tried to do is modify the myvideo.xml to customn.xml. and changed the id to a generic # and modified home to load up that customn.xml for example what i have thus far.
home.xml
=======
<control>
<description>anime</description>
<type>button</type>
<id>4</id>
<posx>20</posx>
<posy>260</posy>
<width>206</width>
<height>36</height>
<texturefocus>anime_active.png</texturefocus>
<texturenofocus>anime.png</texturenofocus>
<aligny>top</aligny>
<textoffsety>120</textoffsety>
<label>-</label>
<align>center</align>
<execute>xbmc.activatewindow(62,anime)</execute>
<onright>8</onright>
<onup>3</onup>
<ondown>5</ondown>
</control>
custom62.xml
===========
<window>
<id>62</id>
<defaultcontrol>5</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<controls>
<control>
<description>background image</description>
<type>image</type>
<id>1</id>
<posx>36</posx>
<posy>28</posy>
<width>645</width>
<height>520</height>
<texture>tvbackground.png</texture>
</control>
etc....
all the help would be great
having problem creating custom xml page. i have differnt catagories, of files. i want to change the background for each. example anime/tv series/movies/etc... i read up on creating custom pages. i manage to get to a point where i was able to create the custome page. but for some reason the custom page does not allow me to view my network files. what i have tried to do is modify the myvideo.xml to customn.xml. and changed the id to a generic # and modified home to load up that customn.xml for example what i have thus far.
home.xml
=======
<control>
<description>anime</description>
<type>button</type>
<id>4</id>
<posx>20</posx>
<posy>260</posy>
<width>206</width>
<height>36</height>
<texturefocus>anime_active.png</texturefocus>
<texturenofocus>anime.png</texturenofocus>
<aligny>top</aligny>
<textoffsety>120</textoffsety>
<label>-</label>
<align>center</align>
<execute>xbmc.activatewindow(62,anime)</execute>
<onright>8</onright>
<onup>3</onup>
<ondown>5</ondown>
</control>
custom62.xml
===========
<window>
<id>62</id>
<defaultcontrol>5</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<controls>
<control>
<description>background image</description>
<type>image</type>
<id>1</id>
<posx>36</posx>
<posy>28</posy>
<width>645</width>
<height>520</height>
<texture>tvbackground.png</texture>
</control>
etc....
all the help would be great