Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra files/folders in camera snapshot directory causes an error #19

Open
chuyskywalker opened this issue Apr 24, 2024 · 0 comments
Open

Comments

@chuyskywalker
Copy link

If there are extra files inside the camera snapshots directory (like a Thumbs.db from windows explorer, etc), the code which loops over the "images" will try to include those and fail on the ffmpeg command. It also happens if there are folders in the directory.

The loop could be improved to exclude anything that doesn't end in .png since the snapshot command forces that into the file names. Not a perfect solution, but would solves most edge cases for little effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant