NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 22 23 24 25 26 … 93 Next »
special MVP code?

 
  • 0 Vote(s) - 0 Average
special MVP code?
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#11
2009-08-30, 01:59 AM
Done, no change as far as not displaying on the NMT is concerned, more logs attached.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#12
2009-08-30, 02:11 AM
The logs look like the same problem - inserting a duplicate key in the WeatherIcons.LoadIcons() method.

Quote:2009-08-30 13:53:53.350 ERROR [6] Inner exception: System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at weather2.WeatherIcons.LoadIcons()
at weather2.WeatherTask..ctor()
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#13
2009-08-30, 01:44 PM
Jaggy---

I'll catch this exception and give you a test build... I don't have time today, so it will have to be tomorrow (meaning Monday EDT) Smile
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#14
2009-08-31, 03:02 PM (This post was last modified: 2009-08-31, 06:01 PM by scb147.)
Jaggy---

Here is another test build with exception handling for the LoadIcons() method.

I've also moved the call to this to the Activate method, instead of the Weather2 constructor.

Hopefully we can get to the bottom of this.

EDIT: I've added another .dll, weather2.XmlSerializers.dll to this zip. Put it in the same folder as the weather2.dll plugin.
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#15
2009-08-31, 11:16 PM
Excellent progress, two steps forward but unfortunately one step back as well.

It now shows on the NMT & appears to works fine.

Torrents now works when Weather2 is also installed on the same machine.

Unfortunately Forecast now displays 0 days, a clear everything & roll back to the old version & it then displays 5 days Forecast data.

The skin will need some tweaking for displaying on the MVP/NMT as they display things a bit (sometimes a lot) bigger than the PC does so some text is wrapping & some is getting cut off. One other observation even though it had just gone through a full update on the PC it went through the whole process again on the NMT when I selected it.
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#16
2009-09-01, 02:43 AM
Great, glad that it's at least showing up now!

The Forecast showing 0 days was my fault... I put something in and forgot to take it back out before I gave you the build.
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#17
2009-09-01, 02:44 AM
sub---

Does the MVP create its own instance of a plugin?
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#18
2009-09-01, 03:54 AM
Each MVP runs as its own PVRX2.exe instance, each with its own plugins etc loaded.
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#19
2009-09-01, 04:55 AM
scb147 Wrote:Great, glad that it's at least showing up now!

There may still be a problem on the NMT as mine just rebooted for no apparent reason (something it doesn't normally do) after sitting on the screensaver for over an hour, but prior to that I had been modifying the skin to go with Blue-Retro-SHV so I can't produce meaningful logs at the moment. Tomorrow I will fire it up early with the blue skin & see if it does it again.

EDIT: I just had a look in the weather2\profile directory & I think it re-booted the NMT at the time it ran an automatic update.

Something else I have noticed (I think different with the version I am running now) is every time I enter it after restarting GB (which I have to do a lot modifying the skin) it now does an update every time. I notice there is a weather.xml in each profile does it check the age of this on starting & if newer than xxx not update?

Quote:The Forecast showing 0 days was my fault... I put something in and forgot to take it back out before I gave you the build.

No worries, when I beta test I report anything odd/out of the ordinary I see Smile
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#20
2009-09-01, 11:13 AM
Jaggy Wrote:Something else I have noticed (I think different with the version I am running now) is every time I enter it after restarting GB (which I have to do a lot modifying the skin) it now does an update every time. I notice there is a weather.xml in each profile does it check the age of this on starting & if newer than xxx not update?

Further to this: Tonight after the boss got home I lost use of the laptop & went back to editing the skin on my PC (the NMT server for Weather2) & found now when I close GB & re-start it & then go back into Weather2 it doesn't do fresh update each time........maybe because it has now done a number of automatic updates during the day do you think??
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Remote control example code? drmargarit 4 3,761 2018-04-21, 11:24 PM
Last Post: drmargarit
  Looking for C# UPnP Media Server code bgowland 5 7,599 2016-12-16, 08:25 PM
Last Post: mvallevand
  How to convert special characters to use for a URL bgowland 2 1,507 2012-01-21, 05:35 PM
Last Post: bgowland
  Weird Code problem - serialisation (I'll spell it the proper way!!"0 psycik 22 6,114 2011-11-25, 03:16 AM
Last Post: whurlston
  sample video overlay plugin source code? reven 2 2,336 2011-10-03, 12:42 AM
Last Post: reven
  C# code to get data directory? McBainUK 2 2,780 2011-09-19, 07:57 PM
Last Post: McBainUK
  Source code for older versions ? Spark 1 1,744 2011-02-23, 01:19 AM
Last Post: sub
  some help on basic gbpvr plugin code Etacovda 12 4,610 2009-06-14, 08:24 PM
Last Post: Etacovda
  Does this code lock the database? pastro 19 5,373 2008-05-22, 10:06 AM
Last Post: Ommina
  My New Favorite Code Snippet jtokach 2 1,727 2007-11-05, 08:45 PM
Last Post: jtokach

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

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

Linear Mode
Threaded Mode