I have a cataloged of gcode files I print on demand on one of many OctoPrint instances (Same server, I would probably design the solution to work on multiple OctoPis). They are updated on occasion, usually when I need to change the slicing strategy. I want to have central storage for the gcodes and easily send the correct version to a printer.
I have some thoughts on how to achieve this. I could use some direction on where to start.
Some thoughts I've considered :
- Git repo the gcodes
- Keep central on server with linux Inotify -> copy to each Watched folder - > delete file on print to keep old versions
- Alternately some system to compare hashes
B] write a new plugin to use a central file source like File Manager with remote (I tried a symlink in the .octoprint/uploads folder without success)