Could we get an option to zero pad the event ID #'s to a specified length?
There's already an option EVENT_IMAGE_DIGITS for the image files, but AFAIK no option to configure event ID's similarly.
Something llke:
EVENT_ID_DIGITS
This would zero pad event ID's the same way image files can be zero padded.
Without this option working with events from the command line can be a bit tricky if you happen to have a collection of events that span across a change in digit length (99, 100) or (999, 1000) and when the ID's roll over back to 1.
If the ID's need to be limited to 5 digits (1...99999, 1, etc) for whatever reason just writing them to the directory structure with the zero padding would help. So the option might be:
EVENT_ID_PADDING=[yes|no]
At least with that you'd have (00001-99999, 00001, etc). Any trickiness to dealing with events in the file system would only happen when the ID's roll over back to 1 and that probably doesn't happen very often for most setups.
Event ID # padding
Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
-
- Posts: 271
- Joined: Tue Feb 11, 2014 2:04 pm
Jump to
- General
- ↳ Announcements
- ↳ Website Issues
- Support
- ↳ ZoneMinder 1.36.x
- ↳ ZoneMinder 1.34.x
- ↳ Mobile Apps and Event Server
- ↳ Docker
- ↳ ZoneMinder Distributions
- ↳ ZoneMinder Translations
- ↳ Archive [End of Life Versions]
- ↳ ZoneMinder 1.35.x Development Branch
- ↳ ZoneMinder 1.33.x Development Branch
- ↳ ZoneMinder 1.32.x
- ↳ ZoneMinder 1.31.x
- ↳ ZoneMinder 1.30.x
- ↳ ZoneMinder 1.29.x
- ↳ ZoneMinder 1.28.x
- ↳ ZoneMinder 1.27.x
- ↳ ZoneMinder 1.26.x
- ↳ ZoneMinder 1.25.x
- ↳ ZoneMinder 1.24.x
- ↳ ZoneMinder Previous Versions
- Development
- ↳ ZoneMinder 1.37.x Development Branch
- ↳ Feature Requests
- ↳ User Contributions
- Miscellaneous
- ↳ ZoneMinder Hints & Tips
- ↳ Non-ZoneMinder Chat
- ↳ Jobs / For Sale / Wanted / Exchange
- ↳ Hardware Compatibility List
- ↳ Hardware Queries