Disko Forum logo Login  |  Register  |  Lost Password
Re:How to use Import Scheduler

thooge
Posts: 16
graphgraph

How to use Import Scheduler 5 Years, 4 Months ago  
Hello again,

i want to read periodically data, e.g. every 5 minutes to refresh data on the screen (newsticker, database values etc.).
I think i should use the MMSImportScheduler? But how?

Another scheduling problem: i want to show a window for a certain time, e.g. from '2009-08-21 07:30:00' to '2009-08-21 09:45:00'. What is the best way to do this?

kind regards, Thomas
 
  The administrator has disabled public write access.
Re:How to use Import Scheduler

Guido
Admin
Posts: 54
graphgraph

Re:How to use Import Scheduler 5 Years, 4 Months ago  
Hi thomas,

QUOTE:
I think i should use the MMSImportScheduler? But how?

Code:

DEBUGMSG("Core", "creating PluginManager"); pluginmanager = new MMSPluginManager(); DEBUGMSG("Core", "loading Import Plugins..."); pluginmanager->loadImportPlugins(); DEBUGMSG("Core", "starting ImportScheduler"); importscheduler = new MMSImportScheduler(pluginmanager); importscheduler->start()
you can also take a look in the morphine.tv code.
QUOTE:
Another scheduling problem: i want to show a window for a certain time, e.g. from '2009-08-21 07:30:00' to '2009-08-21 09:45:00'. What is the best way to do this?
the best way is to use a backend plugin, which handles the time periods. after the hide time is reached the backendplugin could send an hide event to the OSD plugin. hope this helps ... regards Guido
 
 
Last Edit: 2009/08/21 13:41 By Guido.
  The administrator has disabled public write access.
Powered by FireBoard
get the latest posts directly to your desktop