Merge pull request #246065 from mweinelt/frigate-cache-path-fixup

frigate: fix serving of clips
This commit is contained in:
Martin Weinelt
2023-07-30 02:50:22 +02:00
committed by GitHub
+2 -2
View File
@@ -92,11 +92,11 @@ python.pkgs.buildPythonApplication rec {
substituteInPlace frigate/const.py \
--replace "/media/frigate" "/var/lib/frigate" \
--replace "/tmp/cache" "/var/cache/frigate"
--replace "/tmp/cache" "/var/cache/frigate/"
substituteInPlace frigate/http.py \
--replace "/opt/frigate" "${placeholder "out"}/${python.sitePackages}" \
--replace "/tmp/cache/" "/var/cache/frigate"
--replace "/tmp/cache/" "/var/cache/frigate/"
substituteInPlace frigate/output.py \
--replace "/opt/frigate" "${placeholder "out"}/${python.sitePackages}"