• 1
  • 31
  • 32
  • 33(current)
  • 34
  • 35
  • 51
Broken Weather Underground
you just refresh the repo and update is pushed in...

Thanx ronnie for quick fix...
Reply
The 36 hour forecast displays the degree symbol twice.

Image
Reply
Thats looks like font issue, especially if thats Helix or a translation thing
Reply
It's Gotham and it happens in other skins.

EDIT: I don't pretend to understand Python but could it be these 2 lines not stripping out the degree symbol along with the temperature type?

PHP Code:
set_property('36Hour.%i.Temperature'        % (count+1), line.rsplit(' ',1)[1].rstrip('F').strip() + TEMPUNIT)

set_property('36Hour.%i.Temperature'        % (count+1), line.rsplit(' ',1)[1].rstrip('C').strip() + TEMPUNIT
Reply
(2014-05-27, 18:53)Hitcher Wrote: The 36 hour forecast displays the degree symbol twice.

thx for the heads-up.
looks like to made yet another tiny change in their api.

will fix that asap.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
Cheers.
Reply
Hi ronie. It looks like WU have changed their API again as I get a script error immediately. The bug report mentions location and locationid: http://xbmclogs.com/show.php?id=219123
Anti-Fascist◾Artist◾Atheist◾Barefoot◾Cis-male◾Cyclist◾Gay◾Geeky◾Introverted◾Likes weird stuff◾Living with depression & anxiety◾Naturist◾Pierced◾Socialist◾He/him
Reply
(2014-06-06, 21:28)dnairb Wrote: Hi ronie. It looks like WU have changed their API again as I get a script error immediately. The bug report mentions location and locationid: http://xbmclogs.com/show.php?id=219123

Please try:
--UPDATE WILL BE AVAILABLE IN REPO--
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
Martijn, work perfect again, thanks.
MediaBrazil forum Website - Youtube Channel
MQ9-1.6.0.29 - 09.15.2023 - Aeon MQ Skin Team
MarcosQui Website Donate and support us.
Reply
Smile 
Martijn, Thank you! Wink
Reply
Good.
Pushed update to repo.
Will be updated in several hours
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
36 hour forecast still has this problem -

(2014-05-27, 18:53)Hitcher Wrote: The 36 hour forecast displays the degree symbol twice.

Image
Reply
(2014-06-06, 22:19)Martijn Wrote: Good.
Pushed update to repo.
Will be updated in several hours

Great. Works again now. Many thanks.
Anti-Fascist◾Artist◾Atheist◾Barefoot◾Cis-male◾Cyclist◾Gay◾Geeky◾Introverted◾Likes weird stuff◾Living with depression & anxiety◾Naturist◾Pierced◾Socialist◾He/him
Reply
So before fix
(2014-06-06, 23:02)Hitcher Wrote: 36 hour forecast still has this problem -

(2014-05-27, 18:53)Hitcher Wrote: The 36 hour forecast displays the degree symbol twice.

Image

Try this

default.py
https://gist.github.com/uNiversaI/9264f7.../revisions
donwload
https://gist.github.com/uNiversaI/9264f7...f/download

Code:
--- default.py    2014-06-17 15:10:47.863226900 +0100
+++ default.py    2014-06-17 15:10:27.357623000 +0100
@@ -445,7 +445,7 @@
                 for line in fcast:
                     if line.endswith('F'):
                         set_property('36Hour.%i.TemperatureHeading' % (count+1), line.rsplit(' ',1)[0])
-                        set_property('36Hour.%i.Temperature'        % (count+1), line.rsplit(' ',1)[1].rstrip('F').strip() + TEMPUNIT)
+                        set_property('36Hour.%i.Temperature'        % (count+1), line.rsplit(' ',1)[1])
                         break
             except:
                 set_property('36Hour.%i.TemperatureHeading'         % (count+1), '')
@@ -457,7 +457,7 @@
                 for line in fcast:
                     if line.endswith('C'):
                         set_property('36Hour.%i.TemperatureHeading' % (count+1), line.rsplit(' ',1)[0])
-                        set_property('36Hour.%i.Temperature'        % (count+1), line.rsplit(' ',1)[1].rstrip('C').strip() + TEMPUNIT)
+                        set_property('36Hour.%i.Temperature'        % (count+1), line.rsplit(' ',1)[1])
                         break
             except:
                 set_property('36Hour.%i.TemperatureHeading' % (count+1), '')

trial and erro I know ziltch about python but that seems to fix the issue.

After "fix"
Image
Reply
Confirmed working correctly now, thanks.
Reply
  • 1
  • 31
  • 32
  • 33(current)
  • 34
  • 35
  • 51

Logout Mark Read Team Forum Stats Members Help
Weather Underground1