home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Scheduler in MP ? (for a plugin)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Boris" data-source="post: 19991" data-attributes="member: 13068"><p>The scheduler is not a plugin, it is a native implementation in MediaPortal. I'm using it since Smirnoff say it is available and it is working great !</p><p>Here is my code using the scheduler :</p><p>[code]</p><p>TimeSpan next = main.NextTimeSpanToDownload();</p><p>Job job = new Job();</p><p>job.DoWork += new System.ComponentModel.DoWorkEventHandler(job_DoWork);</p><p>job.Name = "RefreshEPGfr";</p><p>job.Dispatch(next);</p><p></p><p>and then ...</p><p></p><p>private void job_DoWork(object sender, System.ComponentModel.DoWorkEventArgs e) {</p><p>// do the job :)</p><p>}</p><p>[/code]</p><p>"main.NextTimeSpanToDownload()" is one method calculating the TimeSpan I need.</p></blockquote><p></p>
[QUOTE="Boris, post: 19991, member: 13068"] The scheduler is not a plugin, it is a native implementation in MediaPortal. I'm using it since Smirnoff say it is available and it is working great ! Here is my code using the scheduler : [code] TimeSpan next = main.NextTimeSpanToDownload(); Job job = new Job(); job.DoWork += new System.ComponentModel.DoWorkEventHandler(job_DoWork); job.Name = "RefreshEPGfr"; job.Dispatch(next); and then ... private void job_DoWork(object sender, System.ComponentModel.DoWorkEventArgs e) { // do the job :) } [/code] "main.NextTimeSpanToDownload()" is one method calculating the TimeSpan I need. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Scheduler in MP ? (for a plugin)
Contact us
RSS
Top
Bottom