Skip to content

NVR with realtime local object detection for IP cameras

Miscellaneous fixes (#23053)

Josh Hawkinsba4a6a53d760
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 34bc2628b3..39512f24a3 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -18,7 +18,7 @@ jobs:
close-issue-message: ""
days-before-stale: 30
days-before-close: 3
- exempt-draft-pr: true
+ exempt-draft-pr: false
exempt-issue-labels: "planned,security"
exempt-pr-labels: "planned,security,dependencies"
operations-per-run: 120
diff --git a/frigate/output/birdseye.py b/frigate/output/birdseye.py
index 98b4dec758..867db8d970 100644
--- a/frigate/output/birdseye.py
+++ b/frigate/output/birdseye.py
@@ -8,7 +8,6 @@ import os
import queue
import subprocess as sp
import threading
-import time
import traceback
from multiprocessing.synchronize import Event as MpEvent
from typing import Any, Optional
diff --git a/web/src/components/card/ReviewCard.tsx b/web/src/components/card/ReviewCard.tsx
index fa2a675bea..a57c1e9ed6 100644
--- a/web/src/components/card/ReviewCard.tsx
+++ b/web/src/components/card/ReviewCard.tsx
@@ -85,7 +85,7 @@ export default function ReviewCard({
{ playback: "realtime" },
)
.then((response) => {
- if (response.status == 200) {
+ if (response.status < 300) {
toast.success(t("export.toast.success"), {
position: "top-center",
action: (
diff --git a/web/src/views/events/EventView.tsx b/web/src/views/events/EventView.tsx
index 919bf708ac..b5aa8532f9 100644
--- a/web/src/views/events/EventView.tsx
+++ b/web/src/views/events/EventView.tsx
@@ -278,7 +278,7 @@ export default function EventView({
{ playback: "realtime", image_path: review.thumb_path },
)
.then((response) => {
- if (response.status == 200) {
+ if (response.status < 300) {
toast.success(
t("export.toast.success", { ns: "components/dialog" }),
{
diff --git a/web/src/views/motion-search/MotionSearchView.tsx b/web/src/views/motion-search/MotionSearchView.tsx
index 567206524c..97811b7402 100644
--- a/web/src/views/motion-search/MotionSearchView.tsx
+++ b/web/src/views/motion-search/MotionSearchView.tsx
@@ -357,7 +357,7 @@ export default function MotionSearchView({
},
)
.then((response) => {
- if (response.status == 200) {
+ if (response.status < 300) {
toast.success(
t("export.toast.success", { ns: "components/dialog" }),
{