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; }