-
Notifications
You must be signed in to change notification settings - Fork 3
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
Special chars in camera name #8
Comments
If I manually remove the quotes from the directory name, it's kinda working... : /storage/Séjour/raw/ And... if I symlink the Séjour directory to 'Séjour'... then everything works as expected. |
Yes, seems like problem due to shlex.quote() which was implemented to resolve space issue. To handle that, space or non-alphanumeric characters can be converted to undersocre "_" and for your special character issue, we can covert accented characters into their base form (e.g., "é" -> "e", "ç" -> "c"). I have updated the code with possible fix in 'dev' branch and docker image with 'dev' tag. Please check and let me know if this fixes your issue. |
Thank you for working on this.
|
Hi,
Thanks for this lightweight NVR !
When using special chars in camera name (Séjour, Façade...), the directory includes single quotes (which isn't nice looking in the filesystem), and the recording fails. NVR: Recording for camera 'Façade' has stopped unexpectedly!
Indeed, the directory is created is : /storage/'Séjour'/raw/
I've seen a resolved issue about space in the name... I guess this is linked.
The text was updated successfully, but these errors were encountered: