mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-28 23:06:13 +02:00
Various Fixes (#22376)
* Correctly send topic with role value * Fix missing previews * Catch other one
This commit is contained in:
@@ -436,7 +436,7 @@ class CameraWatchdog(threading.Thread):
|
||||
|
||||
for role in p["roles"]:
|
||||
self.requestor.send_data(
|
||||
f"{self.config.name}/status/{role}", "offline"
|
||||
f"{self.config.name}/status/{role.value}", "offline"
|
||||
)
|
||||
|
||||
continue
|
||||
@@ -451,7 +451,7 @@ class CameraWatchdog(threading.Thread):
|
||||
|
||||
for role in p["roles"]:
|
||||
self.requestor.send_data(
|
||||
f"{self.config.name}/status/{role}", "offline"
|
||||
f"{self.config.name}/status/{role.value}", "offline"
|
||||
)
|
||||
|
||||
p["logpipe"].dump()
|
||||
|
||||
Reference in New Issue
Block a user