[RELEASE] Weather.MetOffice

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
powlo Offline
Senior Member
Posts: 184
Joined: Oct 2012
Reputation: 1
Post: #16
Fork of Confluence supporting weather maps available at https://dl.dropboxusercontent.com/u/1076....2.20b.zip
find quote
richjack2003 Offline
Junior Member
Posts: 25
Joined: Mar 2014
Reputation: 0
Post: #17
Am I right in thinking that this latest Mod for Gotham will only work with the confluence skin?
find quote
powlo Offline
Senior Member
Posts: 184
Joined: Oct 2012
Reputation: 1
Post: #18
The core weather.metoffice addon should work in any skin. It provides the basic weather parameters that are supported by default by all skins. This is available in the Official XBMC repo for Frodo and Gotham, so no need to add my repo.

But in order to get the advanced features (map, 3 hour forecast, satellite images) you have to install the modded skin for Confluence.

This is because XBMC/Kodi does not support custom weather layouts, and there's no way to "plug" them in.

Confluence is the only skin modded for metoffice advanced features. If you want it for another skin then you'll have to code it yourself (or ask someone to do it!)

However its possible that other skin providers are more sympathetic to having custom weather xml in their repo.
(This post was last modified: 2014-11-18 17:20 by powlo.)
find quote
imadosser Offline
Junior Member
Posts: 1
Joined: Jan 2015
Reputation: 0
Post: #19
Hi, I was wondering if the updated confluence skin is still being supported. I've been using this add-on to access the met office 3 hourly updates and found them to be very useful. Unfortunately, as of Kodi (ver14), it no longer seems compatible. After a little digging around, I noticed that the addon.xml does state that it requires ' addon="xbmc.gui" version="5.0.0" '

Has anybody had any success tweaking it to work with the latest version? I'd appreciate any input.
find quote
powlo Offline
Senior Member
Posts: 184
Joined: Oct 2012
Reputation: 1
Post: #20
I haven't tried it under Kodi unfortunately. If Kodi has changed/renamed its dependencies then it makes sense that that's the reason why its broken. Sad

Coding for alternate skins is sub-optimal and ideally I'd like to have all the skins under the weather.metoffice addon itself.
find quote
gazzacloud Offline
Member
Posts: 63
Joined: Jan 2015
Reputation: 0
Post: #21
Hi Powlo,

Here is a posting I made on the Titan Skin Browser forum.

Is there anything you could have a look at to figure out the artifacts?

In addition, is there anything I'm doing wrong regarding the contextual fanart backgrounds between night and day?
I would prefer to use your MetOffice plugin, because I think the forecasts are more accurate, but at the moment, they don't change between night and day - which Yahoo and Openweathermap seem to.

Many thanks.

gazzacloud Wrote:
Hi Marcel,

As mentioned previously, I'm happily messing about with the contextual weather screens Smile
I've found a small bug, but I'm not sure if it's at your end, or the other plugin. If it isn't, I'll get in touch with the other programmer.

If you set the service for weather information to Met Office - when you restart Kodi, you get artifacts on the screen
(see here https://www.dropbox.com/s/fm9zkpecp5vxmh...t.png?dl=0 )
If you go into menu and refresh the weather settings, it starts working ok again.

To be fair, I don't like the Met Office setting, as it doesn't seem to differentiate between night and day, which both Yahoo and Openweathermap do.

Marcel Wrote:
This seems to be a problem with the Met Office addon as I've never seen this behaviour before.
I just installed the MetOffice addon on my own test system and it's giving me all kinds of script errors...
Please ask the developer of MetOffice for support, let me know if there needs to be done some work on the skin to support it.
find quote
powlo Offline
Senior Member
Posts: 184
Joined: Oct 2012
Reputation: 1
Post: #22
I get a 404 on that dropbox link. Looks like copy/paste failed. You don't link to the other forum so I can't help there either.

Regarding day/night. I presume you mean with daily forecast, and you want it to show a day forecast and a night forecast. I think Met Office does provide this information but I didn't include it because there was the danger of cluttering the screen. The layout needs to be thought out carefully, and I didn't have time.
(This post was last modified: 2015-02-10 01:01 by powlo.)
find quote
gazzacloud Offline
Member
Posts: 63
Joined: Jan 2015
Reputation: 0
Post: #23
Sorry, the link must have expired.

Here it is https://www.dropbox.com/s/fm9zkpecp5vxmh...t.png?dl=0
find quote
gazzacloud Offline
Member
Posts: 63
Joined: Jan 2015
Reputation: 0
Post: #24
With regard to the day/night forecast, both the other plugins don't show day and night - they just show a standard 5 day forecast, but something obviously triggers the Kodi folder change between day and night fanart.
find quote
gazzacloud Offline
Member
Posts: 63
Joined: Jan 2015
Reputation: 0
Post: #25
And I've copied the link to the Titan skin forum. Not sure if this will work Smile
http://forum.kodi.tv/showthread.php?tid=201061&page=54
find quote
powlo Offline
Senior Member
Posts: 184
Joined: Oct 2012
Reputation: 1
Post: #26
Well that looks a mess.

I can't think why that would occur, the script has little control over what actually appears on screen. It just puts values in lists and lets the skin do what it wants with them.

QuickEdit:

Can't reproduce.

I tested it under Titan MediaBrowser and it works fine. Switching to Met Office did not produce artefacts. Using Titan 3.2.51 from main repo. Skin settings as set on install.
(This post was last modified: 2015-02-10 14:45 by powlo.)
find quote
gibxxi Offline
Fan
Posts: 440
Joined: Oct 2011
Reputation: 4
Post: #27
Tried this as weathermap extended is a bit slow updating when returning to the main menu. However, it doesn't work with Kodi on Windows because it complains there is no function "PIL" (Python Image Library, no doubt).

It installed the pytz library/helper add-on upon installation, so what other python libraries do I need, and are they available on the official Kodi repo?

[Image: all-thin-banner.jpg]
DT: Intel Core-i7 - 4770K / Nvidia GTX-770 | HTPC: Intel Core-i5 - 4670K / Nvidia GTX-750 Ti
TV: Sony KDL-40EX524 | AVR: Onkyo TX-NR515 | SPK: 2x Pioneer CS-7070 / 3x Tannoy F1 Custom
find quote
Post Reply