mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-19 15:23:20 +00:00
Respect motion only when playing back (#10632)
* Respect motion only when playing back motion * Increase efficiency * Fix import
This commit is contained in:
1 parent
c2a32bd6c1
commit
bb50b2b6f4
8 files changed
+82
-16
No files matched your search
@@ -1,4 +1,4 @@
|
||||
type Timeline = {
|
||||
export type Timeline = {
|
||||
camera: string;
|
||||
timestamp: number;
|
||||
data: {
|
||||
@@ -23,11 +23,4 @@ type Timeline = {
|
||||
source: string;
|
||||
};
|
||||
|
||||
// may be used in the future, keep for now for reference
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
type HourlyTimeline = {
|
||||
start: number;
|
||||
end: number;
|
||||
count: number;
|
||||
hours: { [key: string]: Timeline[] };
|
||||
};
|
||||
export type TimeRange = { before: number; after: number };
|
||||
Reference in new issue
Block a user