NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 86 87 88 89 90 … 93 Next »
Weather Plugin

 
  • 0 Vote(s) - 0 Average
Weather Plugin
ceejm1
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Sep 2004
#1
2004-09-01, 01:35 AM
Not sue wether this post should be on the devolpers area, but seeing as it regards a plugin, seemed the best place.

On viewing the current weather page, i get an 'unknown condition' image with a question mark. But the forecast screen shows the appropriate images.

I am viewing weather for Edinburgh, UK if that makes an difference.

Any ideas would be much appreciated.

Regards
tkgafs
Offline

Senior Member

Posts: 594
Threads: 61
Joined: Jun 2004
#2
2004-09-01, 09:12 AM
does anybody know how to get the weather plugin to show the correct time zone info

My weather for Arbroath scotland is great except that the date and time are set for EDT timezone rather than GMT or BST

tkgafs
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#3
2004-09-01, 03:20 PM
If you can tell me what the condition text was (partly cloudy for example, exact spelling and spacing is important) I can try and resolve the icon issue.

For the time zone, this is how the data comes from the msnbc feed.  For example:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this.swLastUp = "09/01/2004 07:00:00";[/QUOTE]

I suppose someone could make a change to parse this string then convert from eastern time to GMT.  But between 'real' work and trying to get the messenger plugin working as well as localization support for the weather plugin, my bandwidth is used up.  But the source code is provided so feel free [Image: smile.gif]

And this thread probably does belong in the support forum.
-CodeMonkey
ceejm1
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Sep 2004
#4
2004-09-01, 10:13 PM
There is no condition text that I can see, to the right of the 'unknown' symbol is the temperature with quite a large gap below it where I imagine condition text could be.
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#5
2004-09-01, 10:49 PM
Well if there was no condition text, that would certainly explain no icon [Image: smile.gif]

MSNBC seems to be having a issue with all of the UK.  When I tried to call up their page I got:

An error occurred on the server when processing the URL. Please contact the system administrator.

We might want to try again tomorrow.
-CodeMonkey
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#6
2004-09-02, 07:35 PM
I was able to get through for your area now.  The current condition for your area shows up as:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this.swConText = ""; [/QUOTE]

Which is why you have no condition and no icon.  By contrast, sub's area shows:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> this.swConText = "Rain Shower/ Windy[/QUOTE]

This is why you see the '?' and no current condition.  I don't know why the msnbc feed is incomplete for your area.
-CodeMonkey
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#7
2004-09-02, 07:49 PM
I can confirm it is indeed &quot;Rain Shower/Windy&quot; here - and I've got to walk off to work in a few minutes...
ceejm1
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Sep 2004
#8
2004-09-02, 10:36 PM
Interesting. Have alerted msnbc to the problem.

We'll see......
chrisjbzero
Offline

Member

Posts: 52
Threads: 9
Joined: Jul 2004
#9
2004-09-04, 06:54 AM
I have been experiencing occasional similar problems in the UK using code UKXX0268. I will try to gather more data.
chrisjbzero
Offline

Member

Posts: 52
Threads: 9
Joined: Jul 2004
#10
2004-09-06, 08:20 AM
Having said above that I will try to get more data I'm not sure how to! Current conditions still often show the &lt;unknown&gt; icon.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,796 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,333 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,441 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,885 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,759 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,058 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,943 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 4,969 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,231 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,420 2012-01-15, 08:33 PM
Last Post: imilne

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode