mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-18 22:28:23 +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 |
||
|---|---|---|
| .. | ||
| rootfs | ||
| build_nginx.sh | ||
| build_ov_model.py | ||
| build_pysqlite3.sh | ||
| build_sqlite_vec.sh | ||
| Dockerfile | ||
| fake_frigate_run | ||
| install_deps.sh | ||
| install_hailort.sh | ||
| install_memryx.sh | ||
| install_s6_overlay.sh | ||
| install_tempio.sh | ||
| requirements-dev.txt | ||
| requirements-ov.txt | ||
| requirements-wheels.txt | ||
| requirements.txt | ||