NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 49 50 51 52 53 … 93 Next »
IMenuTask and IEventNotification not working well together since 0.98

 
  • 0 Vote(s) - 0 Average
IMenuTask and IEventNotification not working well together since 0.98
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2006-09-30, 09:28 PM
hi reven, sub, think I'm finding that as well. Finding the IEventNotification a bit erratic.

Seems to be working on the panel that I have (implements IEventNotification, IInfoPanel, and IMenuTask it's a screen saver and a panel).

But on my main music library it doesn't see to act right (sort like that timer problem I was having last week sub (the you're calling it on the wrong thread).

Have you posted a fix?

sub Wrote:I've made some changes that should resolve, but I have no easy way to test it without writing a plugin - so I'll leave it up to you to test it.

EDIT: Ok, how did my post get inserted at the top???? :confused:
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#2
2006-09-30, 10:36 PM
ill try it in the next prerelease and let you know if it works.

thanks for looking into it.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#3
2006-09-30, 11:01 PM
psycik Wrote:EDIT: Ok, how did my post get inserted at the top????
I dont know, but everything is really screwy for me. Maybe our daylight savings change that occurred today is somehow related?

Are people seeing this?
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#4
2006-09-30, 11:12 PM
sub Wrote:I dont know, but everything is really screwy for me. Maybe our daylight savings change that occurred today is somehow related?

Are people seeing this?

Cool, reversed forums, and looks like the :new post" search isn't working...
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#5
2006-10-01, 08:51 AM (This post was last modified: 2006-10-01, 09:07 AM by reven.)
since upgraded to 0.98 my static eventlisteners, objects whatever are no longer accessible from the IMenuTask and IEventNotification, this is causing problems when the main IMenuTask is trying to listen for events from the IEventNotification, but since event listeners arent being seen by each other the IEventNotification cant notify to the IMenuTask that an event has happened.

so in the IMenuTask im doing
Code:
MyPlugin.GBPVREventWatcher.MusicStopping += new MyPlugin.GBPVREventWatcher.MusicStopping_EventHandler(GBPVREventWatcher_MusicStopping);
MyPlugin.GBPVREventWatcher.MusicTrackStarted += new MyPlugin.GBPVREventWatcher.MusicTrackStarted_EventHandler(GBPVREventWatcher_MusicTrackStarted);

and in the IEventNotification, those eventhandlers are null. also i tried setting a static bool in the IMenuTask to true, in the IEventNotification its false.

so has anything changed in 0.98 to screw this up?

i tried making the IMenuTask also implement the IEventNotification interface but that just created 2 instances of the plugin and still had the same problem.

this has been working fine for well over 10 months and nothing has changed in the code for about 4 months (ive gotten reports from people using a 4month old version that says the music panel isnt updated, and this is the cause).
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#6
2006-10-01, 05:27 PM
I think this is due to some of the changes implemented to enable GB-PVR to dynamically change the skin v0.98. I've made some changes that should resolve, but I have no easy way to test it without writing a plugin - so I'll leave it up to you to test it.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  List of "IEventNotification" events? reven 8 3,389 2012-11-01, 10:56 PM
Last Post: reven
  visible="!@hasImage & folder.jpg in Music not working Jaggy 0 1,212 2012-02-10, 10:29 PM
Last Post: Jaggy
  Settings config screen for class IEventNotification plugin imilne 9 3,489 2011-09-17, 06:06 PM
Last Post: sub
  PluginHelper.SetPlayerMetaData(Hashtable args) not working alibert 12 4,650 2011-01-23, 05:33 PM
Last Post: sub
  NPVR IEventNotification ralphy 12 5,079 2010-09-28, 11:39 PM
Last Post: pBS
  anyone for working reminders? pBS 7 2,967 2009-07-03, 07:37 PM
Last Post: pBS
  setPopup not working + minimize window question bgowland 5 2,306 2007-12-15, 01:15 AM
Last Post: whurlston
  Working with Character sets... zehd 7 2,606 2007-05-07, 11:56 AM
Last Post: MixMan
  Weather Plugin SI units not working Paul Gordash 6 2,258 2006-03-23, 02:09 AM
Last Post: fla
  Anyone got IVideoPlugin working? jorm 6 2,408 2005-11-21, 11:33 AM
Last Post: jorm

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

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

Linear Mode
Threaded Mode