Custom weather icons?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
doestergaard Offline
Member
Posts: 83
Joined: Mar 2011
Reputation: 1
Location: Denmark
Post: #1
Hi guys! I'm building a skin and want some other weather icons than the default ones. Would it be possible to use customs? If yes, what do i have to do?

Thanks!
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #2
Put then in a separate folder in your media folder and label them the same as the default XBMC ones, then use something like this for your code -

PHP Code:
<icon>$INFO[Weather.FanartCode,NAME_OF_WEATHER_ICON_FOLDER/,.png]</icon

[Image: sig_zps3af3b48e.jpg]
find quote
doestergaard Offline
Member
Posts: 83
Joined: Mar 2011
Reputation: 1
Location: Denmark
Post: #3
Hitcher Wrote:Put then in a separate folder in your media folder and label them the same as the default XBMC ones, then use something like this for your code -

PHP Code:
<icon>$INFO[Weather.FanartCode,NAME_OF_WEATHER_ICON_FOLDER/,.png]</icon

Don't which xml file to put them in?
find quote
`Black Online
Skilled Skinner
Posts: 2,071
Joined: Apr 2009
Reputation: 51
Location: Germany
Post: #4
Anywhere you want them to have.

[Image: xp1080-21.png]
find quote
doestergaard Offline
Member
Posts: 83
Joined: Mar 2011
Reputation: 1
Location: Denmark
Post: #5
Have placed the code in Home.xml, and located my folder for the custom weather icons, but it's still showing the defualt ones?

Once again, thanks for the help!
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #6
And what happens if you remove your code?

[Image: sig_zps3af3b48e.jpg]
find quote
doestergaard Offline
Member
Posts: 83
Joined: Mar 2011
Reputation: 1
Location: Denmark
Post: #7
Hitcher Wrote:And what happens if you remove your code?

Nothing, it still uses the same icons. Eek
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #8
Then you haven't replaced the right bit.

[Image: sig_zps3af3b48e.jpg]
find quote
doestergaard Offline
Member
Posts: 83
Joined: Mar 2011
Reputation: 1
Location: Denmark
Post: #9
Have been trying all day without any results, could you please help me? Smile
find quote
ronie Online
Team-XBMC Member
Posts: 8,344
Joined: Jan 2009
Reputation: 111
Post: #10
maybe a silly thought of mine...but if you could pastebin the entire code
we may be able to point out the issue right away...

alternatively, we could also go on guessing for weeks ;-)


btw, checking your debug log may also provide some pointers,
mostly (not always) an error is being logged when xbmc fails to load some texture.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or 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.
find quote
Post Reply