Normal
Hi,I hope this is the right place for my question.I'd like the plugin I'm working with to register to do some work when a new schedule is added. I found that in the TvEngine, that in TVController.cs, there is a method onNewSchedule() that "fires" an event.How can I get a plugin to register for that event?Also, once registered, is the callback done in a seperate thread in an asynch manner? Or does use the current thread?Thanks.GeoffI think I found it myself... sorry.[CODE] ITvServerEvent events = GlobalServiceProvider.Instance.Get<ITvServerEvent>(); events.OnTvServerEvent += new TvServerEventHandler(events_OnTvServerEvent);[/CODE]
Hi,
I hope this is the right place for my question.
I'd like the plugin I'm working with to register to do some work when a new schedule is added. I found that in the TvEngine, that in TVController.cs, there is a method onNewSchedule() that "fires" an event.
How can I get a plugin to register for that event?
Also, once registered, is the callback done in a seperate thread in an asynch manner? Or does use the current thread?
Thanks.
Geoff
I think I found it myself... sorry.
[CODE]
ITvServerEvent events = GlobalServiceProvider.Instance.Get<ITvServerEvent>();
events.OnTvServerEvent += new TvServerEventHandler(events_OnTvServerEvent);
[/CODE]