Most of the time I get a bunch of shorter clips. I've been able to build some automations into Home Assistant to detect when I get a high number of captures in a short amount of time it's likely because of a spiderweb and Home Assistant will temporarily disable the camera. However, sometimes I get 6000 frames of a web blowing in the wind.

I really want to set up a rule or something that says: if the capture is running for more than 3 minutes stop it and move on. I don't expect too many recordings to be longer than a minute of continuous triggering so three would force the Home Assistant to work more quickly in temporarily disabling the camera.
Is there any way in ZoneMinder to put a hard limit on the length of recordings?