mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-18 14:18:21 +03:00
When cameras are configured with recording paths outside /media/frigate (e.g. /video1, /video2), preview mp4 files generated there had no corresponding nginx location block — requests returned 404. At nginx startup, get_nginx_settings.py now extracts unique recording roots outside /media/frigate from the Frigate config. The nginx run script uses a new extra_recordings.gotmpl template to generate location blocks (e.g. /video1/preview/) with alias directives for each such root, included via extra_recordings.conf. The API already returns correct src URLs for these paths (the existing replace(BASE_DIR, "") leaves non-media paths unchanged), so no API changes are needed. https://claude.ai/code/session_016bxjbVpx8DqpjysnGYmXdx |
||
|---|---|---|
| .. | ||
| s6-rc.d | ||