Look up events by time through API

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
rhino2rhonda
Posts: 5
Joined: Fri Jan 24, 2020 6:00 pm

Look up events by time through API

Post by rhino2rhonda »

I am using ZoneMinder to record an entire camera stream to disc. What I have understood is that ZoneMinder saves streams as (configurable) fixed length events.

What I need to do is retrieve the saved footage by specifying a time period much like the ZoneMinder portal does in the Montage Review tab. The API Docs suggest a way of retrieving saved footage using an Event ID. How do I get all Event IDs for a given time period?
nrbell
Posts: 30
Joined: Mon Jun 04, 2018 1:14 pm

Re: Look up events by time through API

Post by nrbell »

You can see an example of doing this in the zmgetvid script of my zoneminder-scripts project.
Post Reply