"Weather" section enhancements/improvements suggestions...
#46
manually edit home.xml in pal folder:


Quote:  <!--   added by reality  !-->
 <control>
 <description>weather conditions</description>
 <type>image</type>
 <id>1</id>
 <posx>452</posx>
 <posy>25</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>502</posx>
 <posy>25</posy>
 <info>weather.temperature</info>
 <font>special12</font>
 <align>left</align>
 </control>
 <control>
 <description>weather location</description>
 <type>label</type>
 <id>1</id>
 <posx>502</posx>
 <posy>42</posy>
 <info>weather.location</info>
 <font>special12</font>
 <align>left</align>
 </control>
<!--   end additions  !-->

will display weather image temp & local just above the date and time. the trick is, it isnt changeable (yet im working on it might add the spincontrol to it and work it in to home controls) and, if you update your build youll have to place the home.xml file back or edit the new one

http://www.harshreality.org/screens/home/main.bmp

**before you say anything, yes i know its a bmp.
yes i know there are smaller formats.
yes i am a lazy sob because i dont convert it.

perhaps someday xbmc will be able to do jpg screenshots, till then....
Image
Reply
#47
got a broken foot so i had some extra time on my hands. i added the xradar to the myweather.xml  make sure you have the xradar script in scripts/xradar/...

this is the 16x9 myweather.xml, i might do the other tonight.

edit: looks ok in 4:3 as well. looks best in 720p.
i might move the buttons around. maybe put the weatherchannel logo on the bottom or else i might move the buttons down further on the screen. any suggestions?

Quote:<window>
 <id>2600</id>
 <defaultcontrol>2</defaultcontrol>
 <allowoverlay>yes</allowoverlay>
 <controls>
   <control>
     <description>background image</description>
     <type>image</type>
     <id>1</id>
     <posx>0</posx>
     <posy>0</posy>
     <width>720</width>
     <height>576</height>
     <texture>background-weather.png</texture>
   </control>

   <control>
     <description>xbox media center label</description>
     <type>label</type>
     <id>1</id>
     <posx>200</posx>
     <posy>63</posy>
     <align>right</align>
     <label>xbox media center</label>
     <font>special12</font>
   </control>

   <control>
     <description>description label</description>
     <type>label</type>
     <id>1</id>
     <posx>207</posx>
     <posy>63</posy>
     <align>left</align>
     <label>10508</label>
     <font>special13</font>
   </control>

   <control>
     <description>refresh button</description>
     <type>button</type>
     <id>2</id>
     <posx>60</posx>
     <posy>220</posy>
     <width>135</width>
     <height>35</height>
     <label>184</label>
     <font>font13</font>
     <onleft>3</onleft>
     <onright>3</onright>
     <onup>4</onup>
     <ondown>4</ondown>
     <align>center</align>
   </control>
   
   <control>
     <description>xradar button</description> <visible>yes</visible>
     <type>button</type> <execute>q:\scripts\xradar\xradar.py</execute>
     <id>4</id> <label>doppler</label>
     <posx>60</posx>
     <posy>190</posy>
     <width>135</width>
     <height>35</height>
     <font>font13</font>
     <onleft>3</onleft>
     <onright>3</onright>
     <onup>2</onup>
     <ondown>2</ondown>
     <align>center</align>
   </control>

   <control>
     <description>logo image</description>
     <type>image</type>
     <id>101</id>
     <posx>105</posx>
     <posy>120</posy>
     <texture>twclogo_64px.png</texture>
   </control>

   <control>
     <description>logo image</description>
     <type>image</type>
     <id>1</id>
     <posx>211</posx>
     <posy>120</posy>
     <width>465</width>
     <height>180</height>
     <texture>blue_rectangle_weather.png</texture>
   </control>

   <control>
     <description>logo image</description>
     <type>button</type>
     <id>1</id>
     <posx>211</posx>
     <posy>120</posy>
     <width>464</width>
   </control>

   <control>
     <description>logo image</description>
     <type>image</type>
     <id>1</id>
     <posx>211</posx>
     <posy>310</posy>
     <width>111</width>
     <height>198</height>
     <texture>blue_rectangle_weather.png</texture>
   </control>

   <control>
     <description>logo image</description>
     <type>image</type>
     <id>1</id>
     <posx>329</posx>
     <posy>310</posy>
     <width>111</width>
     <height>198</height>
     <texture>blue_rectangle_weather.png</texture>
   </control>

   <control>
     <description>logo image</description>
     <type>image</type>
     <id>1</id>
     <posx>447</posx>
     <posy>310</posy>
     <width>111</width>
     <height>198</height>
     <texture>blue_rectangle_weather.png</texture>
   </control>

   <control>
     <description>logo image</description>
     <type>image</type>
     <id>1</id>
     <posx>565</posx>
     <posy>310</posy>
     <width>111</width>
     <height>198</height>
     <texture>blue_rectangle_weather.png</texture>
   </control>

   <control>
     <description>weather location select</description>
     <type>spincontrol</type>
     <align>left</align>
     <width>15</width>
     <height>15</height>
     <id>3</id>
     <posx>226</posx>
     <posy>130</posy>
     <font>font14</font>
     <reverse>yes</reverse>
     <onup>4</onup>
     <ondown>2</ondown>
     <onleft>4</onleft>
     <onright>4</onright>
     <disabledcolor>ffffffff</disabledcolor>
     <textoffsetx>0</textoffsetx>
     <textoffsety>0</textoffsety>
     <aligny>center</aligny>
   </control>

   <control>
     <description>update time label</description>
     <type>label</type>
     <id>11</id>
     <align>right</align>
     <posx>660</posx>
     <posy>129</posy>
     <label>-</label>
     <font>font10</font>
   </control>

   <control>
     <description>current temp static label</description>
     <type>label</type>
     <id>223</id>
     <posx>221</posx>
     <posy>168</posy>
     <label>temp</label>
     <font>font10</font>
   </control>

   <control>
     <description>current feels like static label</description>
     <type>label</type>
     <id>224</id>
     <posx>221</posx>
     <posy>188</posy>
     <label>-</label>
     <font>font10</font>
   </control>

   <control>
     <description>current uv index static label</description>
     <type>label</type>
     <id>225</id>
     <posx>221</posx>
     <posy>248</posy>
     <label>-</label>
     <font>font10</font>
   </control>

   <control>
     <description>current wind static label</description>
     <type>label</type>
     <id>226</id>
     <posx>221</posx>
     <posy>268</posy>
     <label>-</label>
     <font>font10</font>
   </control>

   <control>
     <description>current dew static label</description>
     <type>label</type>
     <id>227</id>
     <posx>221</posx>
     <posy>208</posy>
     <label>-</label>
     <font>font10</font>
   </control>

   <control>
     <description>current humidity static label</description>
     <type>label</type>
     <id>228</id>
     <posx>221</posx>
     <posy>228</posy>
     <label>-</label>
     <font>font10</font>
   </control>

   <control>
     <description>current weather icon</description>
     <type>image</type>
     <id>21</id>
     <posx>530</posx>
     <posy>158</posy>
     <height>138</height>
     <width>106</width>
     <texture>background-myweather.png</texture>
   </control>

   <control>
     <description>current condition label</description>
     <type>label</type>
     <align>right</align>
     <id>22</id>
     <posx>520</posx>
     <posy>178</posy>
     <width>120</width>
     <label>-</label>
     <font>font10</font>
   </control>

   <control>
     <description>current temp label</description>
     <type>label</type>
     <id>23</id>
     <posx>335</posx>
     <posy>168</posy>
     <label>-</label>
     <font>font10</font>
   </control>

   <control>
     <description>current feels like label</description>
     <type>label</type>
     <id>24</id>
     <posx>335</posx>
     <posy>188</posy>
     <label>-</label>
     <font>font10</font>
   </control>

   <control>
     <description>current uv index label</description>
     <type>label</type>
     <id>25</id>
     <posx>335</posx>
     <posy>248</posy>
     <label>-</label>
     <font>font10</font>
   </control>

   <control>
     <description>current wind label</description>
     <type>label</type>
     <id>26</id>
     <posx>335</posx>
     <posy>268</posy>
     <label>-</label>
     <font>font10</font>
   </control>

   <control>
     <description>current dew label</description>
     <type>label</type>
     <id>27</id>
     <posx>335</posx>
     <posy>208</posy>
     <label>-</label>
     <font>font10</font>
   </control>

   <control>
     <description>current humidity label</description>
     <type>label</type>
     <id>28</id>
     <posx>335</posx>
     <posy>228</posy>
     <label>-</label>
     <font>font10</font>
   </control>

   <control>
     <description>day 0 label</description>
     <type>button</type>
     <align>center</align>
     <height>28</height>
     <width>110</width>
     <id>31</id>
     <posx>211</posx>
     <posy>310</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
   </control>

   <control>
     <description>day 0 hi label</description>
     <type>button</type>
     <align>center</align>
     <width>110</width>
     <id>32</id>
     <posx>211</posx>
     <posy>338</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
     <texturefocus>-</texturefocus>
     <texturenofocus>-</texturenofocus>
   </control>

   <control>
     <description>day 0 low label</description>
     <type>button</type>
     <align>center</align>
     <width>110</width>
     <id>33</id>
     <posx>211</posx>
     <posy>360</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
     <texturefocus>-</texturefocus>
     <texturenofocus>-</texturenofocus>
   </control>

   <control>
     <description>day 0 general weather label</description>
     <type>button</type>
     <align>center</align>
     <aligny>top</aligny>
     <width>110</width>
     <id>34</id>
     <posx>211</posx>
     <posy>465</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
     <texturefocus>-</texturefocus>
     <texturenofocus>-</texturenofocus>
   </control>

   <control>
     <description>day 0 icon</description>
     <type>image</type>
     <id>35</id>
     <posx>243</posx>
     <posy>395</posy>
     <height>64</height>
     <width>48</width>
     <texture>background-myweather.png</texture>
   </control>

   <control>
     <description>day 1 label</description>
     <type>button</type>
     <align>center</align>
     <height>28</height>
     <width>110</width>
     <id>41</id>
     <posx>329</posx>
     <posy>310</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
   </control>

   <control>
     <description>day 1 hi label</description>
     <type>button</type>
     <align>center</align>
     <width>110</width>
     <id>42</id>
     <posx>329</posx>
     <posy>338</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
     <texturefocus>-</texturefocus>
     <texturenofocus>-</texturenofocus>
   </control>

   <control>
     <description>day 1 low label</description>
     <type>button</type>
     <align>center</align>
     <width>110</width>
     <id>43</id>
     <posx>329</posx>
     <posy>360</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
     <texturefocus>-</texturefocus>
     <texturenofocus>-</texturenofocus>
   </control>

   <control>
     <description>day 1 general weather label</description>
     <type>button</type>
     <align>center</align>
     <aligny>top</aligny>
     <width>110</width>
     <id>44</id>
     <posx>329</posx>
     <posy>465</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
     <texturefocus>-</texturefocus>
     <texturenofocus>-</texturenofocus>
   </control>

   <control>
     <description>day 1 icon</description>
     <type>image</type>
     <id>45</id>
     <posx>361</posx>
     <posy>395</posy>
     <height>64</height>
     <width>48</width>
     <texture>background-myweather.png</texture>
   </control>

   <control>
     <description>day 2 label</description>
     <type>button</type>
     <align>center</align>
     <height>28</height>
     <width>110</width>
     <id>51</id>
     <posx>447</posx>
     <posy>310</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
   </control>

   <control>
     <description>day 2 hi label</description>
     <type>button</type>
     <align>center</align>
     <width>110</width>
     <id>52</id>
     <posx>447</posx>
     <posy>338</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
     <texturefocus>-</texturefocus>
     <texturenofocus>-</texturenofocus>
   </control>

   <control>
     <description>day 2 low label</description>
     <type>button</type>
     <align>center</align>
     <width>110</width>
     <id>53</id>
     <posx>447</posx>
     <posy>360</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
     <texturefocus>-</texturefocus>
     <texturenofocus>-</texturenofocus>
   </control>

   <control>
     <description>day 2 general weather label</description>
     <type>button</type>
     <align>center</align>
     <aligny>top</aligny>
     <width>110</width>
     <id>54</id>
     <posx>447</posx>
     <posy>465</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
     <texturefocus>-</texturefocus>
     <texturenofocus>-</texturenofocus>
   </control>

   <control>
     <description>day 2 icon</description>
     <type>image</type>
     <id>55</id>
     <posx>480</posx>
     <posy>395</posy>
     <height>64</height>
     <width>48</width>
     <texture>background-myweather.png</texture>
   </control>

   <control>
     <description>day 3 label</description>
     <type>button</type>
     <align>center</align>
     <height>28</height>
     <width>110</width>
     <id>61</id>
     <posx>565</posx>
     <posy>310</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
   </control>

   <control>
     <description>day 3 hi label</description>
     <type>button</type>
     <align>center</align>
     <width>110</width>
     <id>62</id>
     <posx>565</posx>
     <posy>338</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
     <texturefocus>-</texturefocus>
     <texturenofocus>-</texturenofocus>
   </control>

   <control>
     <description>day 3 low label</description>
     <type>button</type>
     <align>center</align>
     <width>110</width>
     <id>63</id>
     <posx>565</posx>
     <posy>360</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
     <texturefocus>-</texturefocus>
     <texturenofocus>-</texturenofocus>
   </control>

   <control>
     <description>day 3 general weather label</description>
     <type>button</type>
     <align>center</align>
     <aligny>top</aligny>
     <width>110</width>
     <id>64</id>
     <posx>565</posx>
     <posy>465</posy>
     <label>-</label>
     <font>font10</font>
     <textoffsetx>-</textoffsetx>
     <texturefocus>-</texturefocus>
     <texturenofocus>-</texturenofocus>
   </control>

   <control>
     <description>day 3 icon</description>
     <type>image</type>
     <id>65</id>
     <posx>596</posx>
     <posy>395</posy>
     <height>64</height>
     <width>48</width>
     <texture>background-myweather.png</texture>
   </control>

 </controls>

</window>
Reply
#48
is it possible to edit the weather page and display the weekly forecast instead of seeing the forecast for 5 days.
thanks
Reply
#49
no
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#50
just a thought, but i would like to be able to select the 4 days following the current to get more details on the weather for each day displayed rather than a simple condition, high, and low for days later in the week.

regards,
los93sol
Reply
#51
this is really quite useless but i thought it would be cool, i was browsing through the cvs and realized chokemaniac has several my weather background images for the home screen, specifically i noticed one for fall and one for winter. anyways what i was thinking is it might be kind of cool and sleek to have a conditional tag to change an image based on a predetermined date (in this case dates for each season) so on the first day of fall you would have a background image that compliments the fall, on the first day of winter your background image would change to something that compliments the winter, same for spring and summer. just an idea i thought would be kind of cool and somewhat useful for those of us who can't seem to remember when a season actually starts. :p i realize this wouldn't be a priority of any of the devs, but it might be a good project for a third party dev or something that might be interesting enough for an official dev to spend a little time on. Smile

regards,
los93sol
Reply
#52
can more be done with the weather option? being a brit and having our obession for weather i think this is one menu option left undeveloped for ages. nice touch on the pimped edition of having the temperature on the main menu page!
:bowdown:

could we have more than 3 city options? i'd like to browse a few places where we have been or have friends (saddo i know).

anyone got any other suggestions for expanding on this much under rated feature? an on/off button for the rain outside for example?
Reply
#53
Would love to see...

Integrated Weather Maps
5 & 10 day forecasts
intra-day forecast (hours within the day
- see MSN page for example.

All info can be grabbed from weather.MSN.com

I like this layout since it give everything in a clean format...
Image
I'm not an expert but I play one at work.
Reply
#54
There are 2 weather applets for Linux [gnome weather applet|xfce weather applet] that grab info from weather.com including radar, 7day overview, 5day summary and detailed local information. So there has to be a way to scrape more info than what's shown in the current weather pane. I'll try and locate the code for each and post the links.
Reply
#55
anyone else interested in having a more robust Weather section?
I'm not an expert but I play one at work.
Reply
#56
I am. I like the accuweather script...but this only works in the US. A Radar map and local weather warning with global functionality would be cool.
Reply

Logout Mark Read Team Forum Stats Members Help
"Weather" section enhancements/improvements suggestions...0