Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: [ANNOUNCE] vdr-actuator-0.0.5 plugin



Luca Olivetti wrote:
> 
> Hello,
> 
> I'm releasing a new version (0.0.5) of the "actuator" plugin available at
> 
> http://club.telepolis.com/l.o/vdr/
> 
> This plugin controls a linear actuator (or an horizon to horizon one)
> through the parallel port with a simple circuit.

I was just about to add your plugin to the "Plugins" page on the VDR homepage.
However, looking through your README file I found this:

-------------------------------------------------------------------------
- If you (like me) are using the dxr3 plugin, you'll find that it doesn't
exit cleanly: soon after vdr calls cDevice::Shutdown() the dxr3 plugin will
crash vdr, preventing the actuator plugin to save the current dish position
on disk. As a workaround I reverted the order of the shutdown (around the
end of vdr.c) from

  cDevice::Shutdown();
  PluginManager.Shutdown(true);

to

  PluginManager.Shutdown(true);
  cDevice::Shutdown();
-------------------------------------------------------------------------

This is not a good idea, because if you shut down the plugin manager
_before_ shutting down the devices, a device that is implemented through
a plugin may crash because its dynamically loaded code is gone.

Klaus




Home | Main Index | Thread Index