Pm3 comment
#16
i added this toward the top of the "home.xml"

<control>
<type>image</type>
<id>118</id>
<posx>182</posx>
<posy>105</posy>
<width>538</width>
<height>362</height>
<texture>16x9home-webradio.png</texture>
<visible>!player.hasvideo</visible>
</control>


notice the id 118 and the texture picture is different. all i did was add a picture (as in screenshot) of a mp3 player, called it "16x9home-webradio.png" and placed it within the "media"folder within the skin.

then further down where the buttons are lited i added this lot

<control>
<description>webradio normal push button</description>
<type>button</type>
<id>18</id>
<posx>91</posx>
<posy>388</posy>
<width>14</width>
<height>13</height>
<label>webradio</label>
<font>special13</font>
<execute>q:\scripts\webradio\kmlbrowse.py</execute>
<onleft>98</onleft>
<onright>99</onright>
<onup>3</onup>
<ondown>9</ondown>
<texturefocus>home-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<textoffsetx>30</textoffsetx>
</control>


note my script address maybe diferent from yours. also, notice the id of 18. this is to match the 118 id above.

the origianl weather button, i changed to the following.

<control>
<description>my weather normal push button</description>
<type>button</type>
<id>7</id>
<posx>310</posx>
<posy>434</posy>
<width>9</width>
<height>8</height>
<label>8</label>
<font>font10</font>
<hyperlink>2600</hyperlink>
<font>font10</font>
<onleft>6</onleft>
<onright>99</onright>
<onup>6</onup>
<ondown>2</ondown>
<texturefocus>home-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<textoffsetx>20</textoffsetx>
</control>


remember to backup you home.xml before trying this.

hope this helps.
Reply
#17
how about the xboxmediacenter.xml and keymap.xml

in xboxmediacenter.xml:

<button>
<description>weather</description>
<label>8</label>
<execute>xbmc.activatewindow(2600)</execute>
<icon>107</icon>
</button>

in keymap.xml:

<action>
<description>show weather</description>
<id>0</id>
<execute>xbmc.activatewindow(2600)</execute>
<remote>clear</remote>
</action>

do i need to modify them?

and have you modified them when you changed "weather" button to "webradio" button?
Reply
#18
if you're using pmiii skin you won't need to touch them. i never, and all is fine here.
Reply
#19
i added all your codes above to home.xml, it did show webradio button on screen, but i could not push the button, when i scrolled down, it just skipped the webradio button and jumped to my file button. i'm using the latest pm3 skin, anything wrong?

do i need to add the webradio button info to xboxmediacenter.xml?


and if i remove the original weather button info from home.xml, could i still get the online weather info at the bottom left, or it won't be able to get the online weather info anymore?
Reply
#20
post you code here from your home button. (including the extra code you added).  i'll have a look at it.

you don't need to add this webradio info into xboxmediacenter.xml.

if you remove the weather button, you will still get the online info on the bottom left of your screen.

below is my complete home.xml.

try using all of my code within yours. (note: this is for 16:9 settings.) don't forget to backup your original home.xml.

<window>
 <id>0</id>
 <defaultcontrol>2</defaultcontrol>
 <allowoverlay>no</allowoverlay>
 <controls>
   <control>
     <type>image</type>
     <id>102</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>16x9home-myprograms.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>image</type>
     <id>106</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>16x9home-myfiles.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>image</type>
     <id>103</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>16x9home-mymusic.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>image</type>
     <id>104</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>16x9home-mypictures.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>image</type>
     <id>105</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>16x9home-myvideos.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>image</type>
     <id>118</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>16x9home-webradio.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>image</type>
     <id>107</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>16x9home-myweather.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>image</type>
     <id>109</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>16x9home-settings.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>visualisation</type>
     <id>1</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>372</height>
   </control>

   <control>
     <description>video preview window</description>
     <type>videowindow</type>
     <id>1</id>
     <posx>180</posx>
     <posy>60</posy>
     <width>580</width>
     <height>455</height>
   </control>

   <control>
     <description>background image</description>
     <type>image</type>
     <id>1</id>
     <posx>0</posx>
     <posy>0</posy>
     <width>720</width>
     <height>576</height>
     <texture>16x9home.png</texture>
   </control>

   <control>
     <description>gradient</description>
     <type>image</type>
     <id>1</id>
     <visible>player.hasaudio</visible>
     <posx>315</posx>
     <posy>338</posy>
     <width>400</width>
     <height>99</height>
     <texture>gradient.png</texture>
   </control>

   <control>
     <description>cover image</description>
     <type>image</type>
     <id>1</id>
     <posx>566</posx>
     <posy>338</posy>
     <width>75</width>
     <height>99</height>
     <info>musicplayer.cover</info>
   </control>

   <control>
     <description>artist label</description>
     <type>label</type>
     <id>1</id>
     <width>255</width>
     <posx>555</posx>
     <posy>340</posy>
     <info>musicplayer.artist</info>
     <align>right</align>
     <font>special12</font>
   </control>

   <control>
     <description>title label</description>
     <type>label</type>
     <id>1</id>
     <width>255</width>
     <posx>555</posx>
     <posy>365</posy>
     <info>musicplayer.title</info>
     <align>right</align>
     <font>special13</font>
   </control>

   <control>
     <description>album label</description>
     <type>label</type>
     <id>1</id>
     <width>255</width>
     <posx>555</posx>
     <posy>394</posy>
     <info>musicplayer.album</info>
     <align>right</align>
     <font>font10</font>
   </control>

   <control>
     <description>time label</description>
     <type>label</type>
     <id>1</id>
     <width>255</width>
     <posx>555</posx>
     <posy>415</posy>
     <info>musicplayer.time</info>
     <align>right</align>
     <font>font10</font>
   </control>

<control>
<description>weather conditions</description>
<type>infoimage</type>
<id>1</id>
<posx>75</posx>
<posy>498</posy>
<width>45</width>
<height>49</height>
<info>weather.conditions</info>
<colordiffuse>98fffffff</colordiffuse>
</control>

<control>
<description>weather temperature</description>
<type>infolabel</type>
<id>1</id>
<posx>125</posx>
<posy>498</posy>
<info>weather.temperature</info>
<font>font12</font>
<align>left</align>
</control>

<control>
<description>weather location</description>
<type>infolabel</type>
<id>1</id>
<posx>125</posx>
<posy>513</posy>
<info>weather.location</info>
<font>font12</font>
<align>left</align>
</control>

   <controlgroup>
     <control>
       <description>my programs normal push button</description>
       <type>button</type>
       <id>2</id>
       <posx>91</posx>
       <posy>231</posy>
       <width>14</width>
       <height>13</height>
       <label>games</label>
       <font>special13</font>
       <hyperlink>1</hyperlink>
       <onleft>98</onleft>
       <onright>99</onright>
       <onup>9</onup>
       <ondown>4</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>30</textoffsetx>
     </control>

     <control>
       <description>my pictures normal push button</description>
       <type>button</type>
       <id>4</id>
       <posx>91</posx>
       <posy>271</posy>
       <width>14</width>
       <height>13</height>
       <label>pictures</label>
       <hyperlink>2</hyperlink>
       <font>special13</font>
       <onleft>98</onleft>
       <onright>99</onright>
       <onup>2</onup>
       <ondown>5</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>30</textoffsetx>
     </control>

     <control>
       <description>my videos normal push button</description>
       <type>button</type>
       <id>5</id>
       <posx>91</posx>
       <posy>310</posy>
       <width>14</width>
       <height>13</height>
       <label>videos</label>
       <font>special13</font>
       <hyperlink>6</hyperlink>
       <onleft>98</onleft>
       <onright>99</onright>
       <onup>4</onup>
       <ondown>3</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>30</textoffsetx>
     </control>

     <control>
       <description>my music normal push button</description>
       <type>button</type>
       <id>3</id>
       <posx>91</posx>
       <posy>350</posy>
       <width>14</width>
       <height>13</height>
       <label>music</label>
       <hyperlink>501</hyperlink>
       <font>special13</font>
       <onleft>98</onleft>
       <onright>99</onright>
       <onup>5</onup>
       <ondown>18</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>30</textoffsetx>
     </control>

     <control>
       <description>webradio normal push button</description>
       <type>button</type>
       <id>18</id>
       <posx>91</posx>
       <posy>388</posy>
       <width>14</width>
       <height>13</height>
       <label>webradio</label>
       <font>special13</font>
<execute>q:\scripts\webradio\kmlbrowse.py</execute>
       <onleft>98</onleft>
       <onright>99</onright>
       <onup>3</onup>
       <ondown>9</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>30</textoffsetx>
     </control>

     <control>
       <description>settings normal push button</description>
       <type>button</type>
       <id>9</id>
       <posx>80</posx>
       <posy>434</posy>
       <width>9</width>
       <height>8</height>
       <label>settings</label>
       <font>font10</font>
       <hyperlink>4</hyperlink>
       <onleft>98</onleft>
       <onright>6</onright>
       <onup>18</onup>
       <ondown>2</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>20</textoffsetx>
     </control>

     <control>
       <description>my files normal push button</description>
       <type>button</type>
       <id>6</id>
       <posx>195</posx>
       <posy>434</posy>
       <width>9</width>
       <height>8</height>
       <label>explorer</label>
       <hyperlink>3</hyperlink>
       <font>font10</font>
       <onleft>9</onleft>
       <onright>7</onright>
       <onup>7</onup>
       <ondown>2</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>20</textoffsetx>
     </control>


     <control>
       <description>my weather normal push button</description>
       <type>button</type>
       <id>7</id>
       <posx>310</posx>
       <posy>434</posy>
       <width>9</width>
       <height>8</height>
       <label>8</label>
       <font>font10</font>
       <hyperlink>2600</hyperlink>
       <font>font10</font>
       <onleft>6</onleft>
       <onright>99</onright>
       <onup>6</onup>
       <ondown>2</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>20</textoffsetx>
     </control>

     <control>
       <description>scripts normal push button</description>
       <type>button</type>
       <id>7</id>
       <posx>310</posx>
       <posy>434</posy>
       <width>9</width>
       <height>8</height>
       <label>8</label>
       <font>font10</font>
       <hyperlink>2600</hyperlink>
       <font>font10</font>
       <onleft>6</onleft>
       <onright>99</onright>
       <onup>7</onup>
       <ondown>2</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>20</textoffsetx>
     </control>

   </controlgroup>

   <control>
     <type>image</type>
     <id>102</id>
       <posx>77</posx>
       <posy>430</posy>
       <width>15</width>
       <height>16</height>
     <texture>homebutton-small.png</texture>
   </control>

   <control>
     <type>image</type>
     <id>102</id>
       <posx>192</posx>
       <posy>430</posy>
       <width>15</width>
       <height>16</height>
     <texture>homebutton-small.png</texture>
   </control>

   <control>
     <description>date label</description>
     <type>label</type>
     <id>0</id>
     <posx>582</posx>
     <posy>70</posy>
     <label>date</label>
     <info>system.date</info>
     <align>right</align>
     <font>special12</font>
   </control>

   <control>
     <description>suffix label</description>
     <type>label</type>
     <id>1</id>
     <posx>592</posx>
     <posy>68</posy>
     <label>|</label>
     <align>left</align>
     <font>special12</font>
     <textcolor>60ffffff</textcolor>
   </control>

   <control>
     <description>time label</description>
     <type>label</type>
     <id>0</id>
     <posx>602</posx>
     <posy>70</posy>
     <label>time</label>
     <info>system.time</info>
     <align>left</align>
     <font>special12</font>
     <textcolor>ddced8da</textcolor>
   </control>

   <control>
     <description>rss feed</description>
     <type>rss</type>
     <id>1</id>
     <posx>0</posx>
     <posy>470</posy>
     <width>720</width>
     <font>font13</font>
     <feed>http://www.xbox-scene.com/xbox1data/xbox...xml</feed>
     <titlecolor>ffd2ff00</titlecolor>
     <headlinecolor>ddced8da</headlinecolor>
     <textcolor>ffd2ff00</textcolor>
   </control>

   <control>
     <description>xlink kai conditional button</description>
     <type>conditionalbutton</type>
     <id>99</id>
     <posx>555</posx>
     <posy>501</posy>
     <width>30</width>
     <height>37</height>
     <label>-</label>
     <texturefocus>home-kai.gif</texturefocus>
     <texturenofocus>home-kai.png</texturenofocus>
     <hyperlink>2700</hyperlink>
     <onleft>2</onleft>
     <onright>100</onright>
     <onup>2</onup>
     <ondown>2</ondown>
   </control>

   <control>
     <description>submenu button</description>
     <type>button</type>
     <id>100</id>
     <posx>585</posx>
     <posy>501</posy>
     <width>30</width>
     <height>37</height>
     <hyperlink>105</hyperlink>
     <texturefocus>home-sub.gif</texturefocus>
     <texturenofocus>home-sub.png</texturenofocus>
     <label>-</label>
     <onleft>99</onleft>
     <onright>98</onright>
     <onup>2</onup>
     <ondown>2</ondown>
   </control>

   <control>
     <description>submenu button</description>
     <type>button</type>
     <id>98</id>
     <posx>615</posx>
     <posy>501</posy>
     <width>30</width>
     <height>37</height>
     <hyperlink>111</hyperlink>
     <texturefocus>home-power.gif</texturefocus>
     <texturenofocus>home-power.png</texturenofocus>
     <label>-</label>
     <onleft>100</onleft>
     <onright>2</onright>
     <onup>2</onup>
     <ondown>2</ondown>
   </control>

 </controls>

</window>

Reply
#21
yeah, i pasted your code into xbmc, and it worked.

below is my home.xml

<window>
 <id>0</id>
 <defaultcontrol>2</defaultcontrol>
 <allowoverlay>no</allowoverlay>
   <controls>
    <control>
    <type>image</type>
    <id>118</id>
    <posx>182</posx>
    <posy>105</posy>
    <width>538</width>
    <height>362</height>
    <texture>launch.png</texture>
    <visible>!player.hasvideo</visible>
  </control>

   <control>
     <type>image</type>
     <id>102</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>4x3home-myprograms.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>image</type>
     <id>106</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>4x3home-myfiles.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>image</type>
     <id>103</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>4x3home-mymusic.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>image</type>
     <id>104</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>victoria.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>image</type>
     <id>105</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>4x3home-myvideos.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>image</type>
     <id>107</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>4x3home-myweather.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>image</type>
     <id>109</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>4x3home-settings.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

   <control>
     <type>visualisation</type>
     <id>1</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>372</height>
   </control>

   <control>
     <description>video preview window</description>
     <type>videowindow</type>
     <id>1</id>
     <posx>180</posx>
     <posy>60</posy>
     <width>540</width>
     <height>455</height>
   </control>

   <control>
     <description>background image</description>
     <type>image</type>
     <id>1</id>
     <posx>0</posx>
     <posy>0</posy>
     <width>720</width>
     <height>576</height>
     <texture>4x3home.png</texture>
   </control>

   <control>
     <description>gradient</description>
     <type>image</type>
     <id>1</id>
     <visible>player.hasaudio</visible>
     <posx>315</posx>
     <posy>338</posy>
     <width>400</width>
     <height>99</height>
     <texture>gradient.png</texture>
   </control>

   <control>
     <description>cover image</description>
     <type>image</type>
     <id>1</id>
     <posx>540</posx>
     <posy>338</posy>
     <width>100</width>
     <height>99</height>
     <info>musicplayer.cover</info>
   </control>

   <control>
     <description>artist label</description>
     <type>label</type>
     <id>1</id>
     <width>255</width>
     <posx>525</posx>
     <posy>340</posy>
     <info>musicplayer.artist</info>
     <align>right</align>
     <font>special12</font>
   </control>

   <control>
     <description>title label</description>
     <type>label</type>
     <id>1</id>
     <width>255</width>
     <posx>525</posx>
     <posy>365</posy>
     <info>musicplayer.title</info>
     <align>right</align>
     <font>special13</font>
   </control>

   <control>
     <description>album label</description>
     <type>label</type>
     <id>1</id>
     <width>255</width>
     <posx>525</posx>
     <posy>394</posy>
     <info>musicplayer.album</info>
     <align>right</align>
     <font>font10</font>
   </control>

   <control>
     <description>time label</description>
     <type>label</type>
     <id>1</id>
     <posx>525</posx>
     <posy>415</posy>
     <info>musicplayer.time</info>
     <align>right</align>
     <font>font10</font>
   </control>

   <controlgroup>
     <control>
       <description>my programs normal push button</description>
       <type>button</type>
       <id>2</id>
       <posx>91</posx>
       <posy>231</posy>
       <width>14</width>
       <height>13</height>
       <label>0</label>
       <font>special13</font>
       <hyperlink>1</hyperlink>
       <onleft>98</onleft>
       <onright>99</onright>
       <onup>9</onup>
       <ondown>4</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>30</textoffsetx>
     </control>

     <control>
       <description>my pictures normal push button</description>
       <type>button</type>
       <id>4</id>
       <posx>91</posx>
       <posy>271</posy>
       <width>14</width>
       <height>13</height>
       <label>1</label>
       <hyperlink>2</hyperlink>
       <font>special13</font>
       <onleft>98</onleft>
       <onright>99</onright>
       <onup>2</onup>
       <ondown>5</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>30</textoffsetx>
     </control>

     <control>
       <description>my videos normal push button</description>
       <type>button</type>
       <id>5</id>
       <posx>91</posx>
       <posy>310</posy>
       <width>14</width>
       <height>13</height>
       <label>3</label>
       <font>special13</font>
       <hyperlink>6</hyperlink>
       <onleft>98</onleft>
       <onright>99</onright>
       <onup>4</onup>
       <ondown>3</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>30</textoffsetx>
     </control>

     <control>
       <description>my music normal push button</description>
       <type>button</type>
       <id>3</id>
       <posx>91</posx>
       <posy>350</posy>
       <width>14</width>
       <height>13</height>
       <label>2</label>
       <hyperlink>501</hyperlink>
       <font>special13</font>
       <onleft>98</onleft>
       <onright>99</onright>
       <onup>5</onup>
       <ondown>7</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>30</textoffsetx>
     </control>

     <control>
       <description>music video normal push button</description>
       <type>button</type>
       <id>18</id>
       <posx>91</posx>
       <posy>388</posy>
       <width>14</width>
       <height>13</height>
       <label>music video</label>
       <font>special13</font>
       <execute>q:\scripts\launchbrowser\launchbrowser.py</execute>
       <onleft>98</onleft>
       <onright>99</onright>
       <onup>3</onup>
       <ondown>9</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>30</textoffsetx>
     </control>
     
          <control>
      <description>my weather normal push button</description>
      <type>button</type>
      <id>7</id>
      <posx>310</posx>
      <posy>434</posy>
      <width>9</width>
      <height>8</height>
      <label>8</label>
      <font>font10</font>
      <hyperlink>2600</hyperlink>
      <font>font10</font>
      <onleft>6</onleft>
      <onright>99</onright>
      <onup>6</onup>
      <ondown>2</ondown>
      <texturefocus>home-focus.gif</texturefocus>
      <texturenofocus>-</texturenofocus>
      <textoffsetx>20</textoffsetx>
    </control>


     <control>
       <description>settings normal push button</description>
       <type>button</type>
       <id>9</id>
       <posx>80</posx>
       <posy>434</posy>
       <width>9</width>
       <height>8</height>
       <label>5</label>
       <font>font10</font>
       <hyperlink>4</hyperlink>
       <onleft>98</onleft>
       <onright>6</onright>
       <onup>7</onup>
       <ondown>2</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>20</textoffsetx>
     </control>

     <control>
       <description>my files normal push button</description>
       <type>button</type>
       <id>6</id>
       <posx>195</posx>
       <posy>434</posy>
       <width>9</width>
       <height>8</height>
       <label>7</label>
       <hyperlink>3</hyperlink>
       <font>font10</font>
       <onleft>9</onleft>
       <onright>99</onright>
       <onup>7</onup>
       <ondown>2</ondown>
       <texturefocus>home-focus.gif</texturefocus>
       <texturenofocus>-</texturenofocus>
       <textoffsetx>20</textoffsetx>
     </control>

   </controlgroup>

   <control>
     <type>image</type>
     <id>102</id>
       <posx>77</posx>
       <posy>430</posy>
       <width>15</width>
       <height>16</height>
     <texture>homebutton-small.png</texture>
   </control>

   <control>
     <type>image</type>
     <id>102</id>
       <posx>192</posx>
       <posy>430</posy>
       <width>15</width>
       <height>16</height>
     <texture>homebutton-small.png</texture>
   </control>

   <control>
     <description>date label</description>
     <type>label</type>
     <id>0</id>
     <posx>582</posx>
     <posy>70</posy>
     <label>date</label>
     <info>system.date</info>
     <align>right</align>
     <font>special12</font>
   </control>

   <control>
     <description>suffix label</description>
     <type>label</type>
     <id>1</id>
     <posx>592</posx>
     <posy>68</posy>
     <label>|</label>
     <align>left</align>
     <font>special12</font>
     <textcolor>60ffffff</textcolor>
   </control>

   <control>
     <description>time label</description>
     <type>label</type>
     <id>0</id>
     <posx>602</posx>
     <posy>70</posy>
     <label>time</label>
     <info>system.time</info>
     <align>left</align>
     <font>special12</font>
     <textcolor>60ffffff</textcolor>
   </control>

   <control>
     <description>rss feed</description>
     <type>rss</type>
     <id>1</id>
     <posx>0</posx>
     <posy>470</posy>
     <width>720</width>
     <font>font13</font>
     <feed>http://mcpmag.com/rss/news/</feed>
     <titlecolor>ffd2ff00</titlecolor>
     <headlinecolor>ddced8da</headlinecolor>
     <textcolor>ffd2ff00</textcolor>
   </control>

   <control>
     <description>xlink kai conditional button</description>
     <type>conditionalbutton</type>
     <id>99</id>
     <posx>544</posx>
     <posy>503</posy>
     <width>35</width>
     <height>35</height>
     <label>-</label>
     <texturefocus>home-kai.gif</texturefocus>
     <texturenofocus>home-kai.png</texturenofocus>
     <hyperlink>2700</hyperlink>
     <onleft>2</onleft>
     <onright>100</onright>
     <onup>2</onup>
     <ondown>2</ondown>
   </control>

   <control>
     <description>submenu button</description>
     <type>button</type>
     <id>100</id>
     <posx>577</posx>
     <posy>503</posy>
     <width>35</width>
     <height>35</height>
     <hyperlink>105</hyperlink>
     <texturefocus>home-sub.gif</texturefocus>
     <texturenofocus>home-sub.png</texturenofocus>
     <label>-</label>
     <onleft>99</onleft>
     <onright>98</onright>
     <onup>2</onup>
     <ondown>2</ondown>
   </control>

   <control>
     <description>submenu button</description>
     <type>button</type>
     <id>98</id>
     <posx>610</posx>
     <posy>503</posy>
     <width>35</width>
     <height>35</height>
     <hyperlink>111</hyperlink>
     <texturefocus>home-power.gif</texturefocus>
     <texturenofocus>home-power.png</texturenofocus>
     <label>-</label>
     <onleft>100</onleft>
     <onright>2</onright>
     <onup>2</onup>
     <ondown>2</ondown>
   </control>
   
   <control>
   <description>weather conditions</description>
   <type>image</type>
   <id>1</id>
   <posx>75</posx>
   <posy>498</posy>
   <width>45</width>
   <height>49</height>
   <info>weather.conditions</info>
   <colordiffuse>98fffffff</colordiffuse>
   </control>

   <control>
   <description>weather temperature</description>
   <type>label</type>
   <id>1</id>
   <posx>125</posx>
   <posy>498</posy>
   <info>weather.temperature</info>
   <font>font12</font>
   <align>left</align>
   </control>

   <control>
   <description>weather location</description>
   <type>label</type>
   <id>1</id>
   <posx>125</posx>
   <posy>513</posy>
   <info>weather.location</info>
   <font>font12</font>
   <align>left</align>
   </control>

 </controls>

</window>
Reply
#22
Quote:if you remove the weather button, you will still get the online info on the bottom left of your screen.

if i remove the following info from home.xml, then the weather info at the bottom left will disappear, but the "weather'' white button still exist on the right.

<control>
<description>my weather normal push button</description>
<type>button</type>
<id>7</id>
<posx>310</posx>
<posy>434</posy>
<width>9</width>
<height>8</height>
<label>8</label>
<font>font10</font>
<hyperlink>2600</hyperlink>
<font>font10</font>
<onleft>6</onleft>
<onright>99</onright>
<onup>6</onup>
<ondown>2</ondown>
<texturefocus>home-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<textoffsetx>20</textoffsetx>
</control>

how could i keep the weather info at the bottom left while removing the weathe white button on the right?

Image
Reply
#23
(xboxsfan @ april 21 2005,17:24 Wrote:yeah, i pasted your code into xbmc, and it worked.
so my code works fine then? good, use that. test it all out. i have attatched a picture that i use for the webradio.png.
right click save as. make sure it is called 16x9home-webradio.png

put it into the media folder within pmiii skin. where the textures.xpr is.

you will notice there will be a very very slight pause when you select this button, but not too much to worry about :d
Reply
#24
just checked thoroughly, the problem with my original home.xml is <onup> and <ondown> script of "my music normal push button" and "settings normal push button", the orginal value is :

      <onup>5</onup>
       <ondown>7</ondown>

      and

       <onup>7</onup>
       <ondown>2</ondown>

if i change them to:

       <onup>5</onup>
       <ondown>18</ondown>

      and

       <onup>18</onup>
       <ondown>2</ondown>

then there's no problem at all.

as for the removing of weather white button from the screen, simply remove the following script from home.xml:

 <control>
      <description>my weather normal push button</description>
      <type>button</type>
      <id>7</id>
      <posx>310</posx>
      <posy>434</posy>
      <width>9</width>
      <height>8</height>
      <label>8</label>
      <font>font10</font>
      <hyperlink>2600</hyperlink>
      <font>font10</font>
      <onleft>6</onleft>
      <onright>99</onright>
      <onup>6</onup>
      <ondown>2</ondown>
      <texturefocus>home-focus.gif</texturefocus>
      <texturenofocus>-</texturenofocus>
      <textoffsetx>20</textoffsetx>
    </control>

    <control>
      <description>scripts normal push button</description>
      <type>button</type>
      <id>7</id>
      <posx>310</posx>
      <posy>434</posy>
      <width>9</width>
      <height>8</height>
      <label>8</label>
      <font>font10</font>
      <hyperlink>2600</hyperlink>
      <font>font10</font>
      <onleft>6</onleft>
      <onright>99</onright>
      <onup>7</onup>
      <ondown>2</ondown>
      <texturefocus>home-focus.gif</texturefocus>
      <texturenofocus>-</texturenofocus>
      <textoffsetx>20</textoffsetx>
    </control>



then the weather white button will disappear and we still can get the online weather info at the bottom left.

thanks to axious for his great script and his help!

(jaga @ april 18 2005,18:19 Wrote:i also wanted to change that and with the help on teknojuice on #xbmc i did. upload your new image to skin/project mayhem iii/media and change home.xml to use that new image name instead of 4x3home-mypictures.png.

thanks, successfully replaced the original picture with the following one:
Image
Reply
#25
hi there

pmiii is the greatest skin i've ever seen

but one question:

does anybody know a way how to start videos minimized (in the background)?

i want to use my music vids as a menu background

thanks, badener
Reply
#26
is it possible to change the color of the focus icon? i want to change the green light to a blue one in project mayhem iii.
Reply
#27
yes, you need the uncompressed texture files, and then you will need to edit the texture corresponding to the item you want to change....
Reply
#28
instead of adding a new line to change the picture you can just change this

<control>
     <type>image</type>
     <id>107</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>4x3home-myweather.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

to this:

<control>
     <type>image</type>
     <id>107</id>
     <posx>182</posx>
     <posy>105</posy>
     <width>538</width>
     <height>362</height>
     <texture>nameofyourpictureinmediafolder.png</texture>
     <visible>!player.hasvideo</visible>
   </control>

doing it this way you won't have to edit the <id> line at all when changing the button
Reply
#29
is there away to make the kai online appear where my weather is, so it doesnt appear at the bottom as a green square and i can just select that
Reply
#30
err and could you please stop posting looooooooong xmls. Wink

maybe upload a textfile with the chnages or something. thnx

ps: if you don't have space to upload something like rapidshare might be handy.
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Pm3 comment00