From 93c18cca70a48e045f00d9a8a12759d451841df0 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sun, 13 Nov 2022 18:42:26 -0800 Subject: [PATCH] snapshot: promote to default plugin --- plugins/snapshot/package-lock.json | 4 ++-- plugins/snapshot/package.json | 2 +- plugins/snapshot/src/main.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/snapshot/package-lock.json b/plugins/snapshot/package-lock.json index 54319fdf6..cf5cc36e8 100644 --- a/plugins/snapshot/package-lock.json +++ b/plugins/snapshot/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/snapshot", - "version": "0.0.37", + "version": "0.0.38", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/snapshot", - "version": "0.0.37", + "version": "0.0.38", "dependencies": { "@koush/axios-digest-auth": "^0.8.5", "@types/node": "^16.6.1", diff --git a/plugins/snapshot/package.json b/plugins/snapshot/package.json index 7b13acc92..4dd642913 100644 --- a/plugins/snapshot/package.json +++ b/plugins/snapshot/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/snapshot", - "version": "0.0.37", + "version": "0.0.38", "description": "Snapshot Plugin for Scrypted", "scripts": { "scrypted-setup-project": "scrypted-setup-project", diff --git a/plugins/snapshot/src/main.ts b/plugins/snapshot/src/main.ts index de72eb67a..6e584d064 100644 --- a/plugins/snapshot/src/main.ts +++ b/plugins/snapshot/src/main.ts @@ -575,7 +575,7 @@ class SnapshotPlugin extends AutoenableMixinProvider implements MixinProvider, B const { type, interfaces } = device; // auto enable this on VideoCameras that do not have snapshot capability. if ((type === ScryptedDeviceType.Camera || type === ScryptedDeviceType.Doorbell) - && interfaces.includes(ScryptedInterface.VideoCamera) && !interfaces.includes(ScryptedInterface.Camera)) + && interfaces.includes(ScryptedInterface.VideoCamera)) return true; return false; }