Page tree


  Wiki Navigation


 Recently Updated

 Latest Releases

 MediaPortal 1.22 
            Releasenews | Download
 MediaPortal 2 2.2.1 
            Releasenews | Download

This section hold some handy code snippets to give you some help in developing MediaPortal.

Just a couple of simple suggestions:

  1. Plugins shouldn't do any long lasting work (more than few ms) in plugin start up
  2. Plugins shouldn't do any processing in MediaPortal Main thread at all. All work should be dispatched to a worker thread(s). Reason for this is that if you have 10 plugins that are all doing 1 ms work in the main thread you are already eating 50% of the frame rendering time on 50fps screen updates.
  3. Any network or local HD access is always more than 1 ms so they need worker thread(s) to be used even if plugin start up shouldn't do such.




This page has no comments.