Page 1 of 1
Renaming events in database
Posted: Tue Jul 18, 2006 7:15 am
by rchurch
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?
Posted: Tue Jul 18, 2006 7:26 am
by jameswilson
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
Posted: Tue Jul 18, 2006 7:52 am
by rchurch
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
I am referring to the Name column in the Events table, I have no intention of changing the file system.
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.
Posted: Tue Jul 18, 2006 7:55 am
by jameswilson
oh i see, i have no idea sorry
Posted: Thu Jul 20, 2006 3:05 pm
by zoneminder
You can rename events directly in the database with no knock-on effects elsewhere. They are really just labels and not used for anything else. The same does not apply for the monitor names, which need to be done through the GUI.