This section hold some handy code snippets to give you some help in developing MediaPortal.
Just a couple of simple suggestions:
- Plugins shouldn't do any long lasting work (more than few ms) in plugin start up
- 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.
- 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.
