INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: initialization delay of plugin  (Read 2112 times)

kensn

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1362
initialization delay of plugin
« on: September 07, 2011, 07:51:03 pm »

Quote
After the plugin has been created Media Center will call the following method, giving us a reference to the Media Center interface.


After fighting a small problem with the pulgin I am working on, I put a simple timer(that is enabled by default) in my plugin and a sytem sound event on its first tick. If I start MC16 and just let it sit, it seems to take about 10 seconds for MC to call the plugin (I hear the system sound). If I start mc and go to "services & plugins" the system sound fires as soon as I select the plugin.

Dose it take MC16 10 seconds from when it is started to "Create The Plugin" and call it, or am I doing something wrong?

Ken
Logged
If(IsEmpty([Coffee Cup]), Coffee, Drink)

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: initialization delay of plugin
« Reply #1 on: September 16, 2011, 10:58:27 pm »

This is by design.

Media Center slowly starts background things like plugins, podcasting, handhelds, etc. after loading.
Logged
Matt Ashland, JRiver Media Center

kensn

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1362
Re: initialization delay of plugin
« Reply #2 on: September 16, 2011, 11:20:13 pm »

Thanks Matt.... it was driving me a bit batty troubleshooting until I put a system sound in to tell me the plugin was loaded.

Thanks again for all the support..

Ken
Logged
If(IsEmpty([Coffee Cup]), Coffee, Drink)
Pages: [1]   Go Up