mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-06-22 20:50:06 -04:00
When an event closes the recording file is renamed from incomplete.* to <Id>-video.* and the DB row is updated. A stale Event model still reports DefaultVideo=incomplete.mp4, producing spurious 'File does not exist' warnings. When the incomplete file is missing, clear the object cache and re-read the event from the database to check the finished file before warning. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ZoneMinder API
This is the ZoneMinder API. It should be, for now, installed under the webroot e.g. /api.
app/Config/database.php.default must be configured and copied to app/Config/database.php
In addition, Security.salt and Security.cipherSeed in app/Config/core.php should be changed.
The API can run on a dedicated / separate instance, so long as it can access the database as configured in app/Config/database.php