Open KristiyanHristov opened 1 month ago
Holy shit, my first feature request on GitHub!
When you say /snap (no extension), how does that work? Is it somehow an image file without an extension, and an extension has to be added to be viewed on something like Win10?
You are welcome :) /snap is a url provided by esp32cam. It serves/opens an image called capture.jpg in the browser.
I used the python script to test it, works fine without file extension.
Hey! Just dug out an old ESPcam I had collecting dust, after a few headaches I got it working - however, stills are present at /capture for me, not /snap
I'll see if I can get the script to scan for any instance of /snap or /capture (wish me luck)
My suggestion is to not overthink it and just make it a config parameter. This is easy and adds support for most use cases. Leave the default value for Unify cameras.
I don't have unify cameras but this tool can be used for all sorts of cameras if the extension is configurable. In my case (ESP3D on a ESP32CAM) snapshots are available at "/snap" not "snap.jpeg"