Is there a way to record all device videos in a single folder, and name this folder with the device name and directory events wth the date as the folder name?
Thanks
Event video folder name
Re: Event video folder name
That is the way it is done, sort of.
The default directory path is /var/cache/(Monitor Number)/(date)/(event number)
If what you want to do is specify a specific directory for each monitor you can do that.
Create a directory /monitor1
In Zoneminder - Options - Storage add a storage location for /monitor1
When you set up Monitor 1 tell it to use storage location monitor1 but remember to create a filter to purge the folder when it is full.
The default directory path is /var/cache/(Monitor Number)/(date)/(event number)
If what you want to do is specify a specific directory for each monitor you can do that.
Create a directory /monitor1
In Zoneminder - Options - Storage add a storage location for /monitor1
When you set up Monitor 1 tell it to use storage location monitor1 but remember to create a filter to purge the folder when it is full.
Re: Event video folder name
I'm going to be more specific, if I have 1 cameras named "Garage", create a single folder called "Garage" where all the videos with the name "<date-time>" are stored, the same for camera 2 and others. Not to have 1, 2, 3 folders.
I am not talking about the device where the videos are saved, neither about the default directory
I am not talking about the device where the videos are saved, neither about the default directory
Re: Event video folder name
OK, create the directory /Garage and etc. There is no restriction on what you name the storage directory as long as it is given write permissions for Apache2 (www-data). However, you may still get a sub directory /1, /2 and etc. which will contain the rest of the directories. Each storage folder will need a filter to clean it out when it gets full.ocascante wrote: ↑Sat Jul 31, 2021 8:21 pm I'm going to be more specific, if I have 1 cameras named "Garage", create a single folder called "Garage" where all the videos with the name "<date-time>" are stored, the same for camera 2 and others. Not to have 1, 2, 3 folders.
I am not talking about the device where the videos are saved, neither about the default directory
I suppose you have a reason to organize the directories thusly? There might be a better way to do what you want to do. I suppose in the coding there is a way to change the monitor name from "1" to Garage. But as the cams are added sequentially by number it may break the system.
Re: Event video folder name
Ok, could you tell me what is the file that creates the folders? I understand Zoneminder is written in Perl lenguage. Thanks