Renaming events in database
Renaming events in database
I want to run a script to change Event names at regular intervals. To something such as CameraX_YYYYMMDD_HHMM-HHMM. Will doing so directly have an effect on the behaviour of the other scripts, such as video generation etc?
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
if you rename a file without telling zm you have then zm will not be able to retrieve images. If you need this then i suggest you rename a copy of the data and move it elsewhere as i cannot see how you could tell zm that event 5334656 is realy cammxxxOn12/12/2006 etc etc
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
I am referring to the Name column in the Events table, I have no intention of changing the file system.if you rename a file without telling zm you have then zm will not be able to retrieve images. If you need this then i suggest you rename a copy of the data and move it elsewhere as i cannot see how you could tell zm that event 5334656 is realy cammxxxOn12/12/2006 etc etc
ZM has an option to rename an event which changes the Name in the Events column, and I wonder that rename is a simple column update in the Events table with no other changes made anywhere else.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
oh i see, i have no idea sorry
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: