2014-05-16, 19:19
you just refresh the repo and update is pushed in...
Thanx ronnie for quick fix...
Thanx ronnie for quick fix...
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)
(2014-05-27, 18:53)Hitcher Wrote: The 36 hour forecast displays the degree symbol twice.
(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
(2014-05-27, 18:53)Hitcher Wrote: The 36 hour forecast displays the degree symbol twice.
(2014-06-06, 22:19)Martijn Wrote: Good.
Pushed update to repo.
Will be updated in several hours
(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.
--- 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), '')