[MotionWebcam] Do not override sbcConfigFiles if they exist
-
Hi guys,
I ported my own version of the MotionWebcamServer to be compatible with DuetPi Bookworm.
In the process of installing new test versions I had to constantly reupload my own motion.conf, because it gets overridden by the default file.
Docs say, this should not happen. So, is this a bug or am I doing something wrong?This is part of the plugin manifest:
{ ... "sbcConfigFiles": ["motion.conf"], ... }
Thanks!
OT: Are there any plans to support the Motion Plugin on Bookworm or are you interested in my version of it?
-
@marvineer one for @chrishamm
-
@marvineer Thanks for reporting it, I can confirm it is a bug which will be fixed in the next version. My idea for the Motion plugin was to change the package dependencies to the plain
motion
package, that way I should be able to get it running both on Buster and Bullseye. But I haven't looked into it again yet. -
@marvineer Version 3.5.1 is available now, see https://github.com/Duet3D/MotionWebcamServerPlugin/releases/tag/v3.5.1. It is compatible with v3.5 and Debian Buster and Bookworm.