mirror of
https://github.com/koush/scrypted.git
synced 2026-06-10 21:00:31 +01:00
snapshot: fix perma broken nvr snapshots
This commit is contained in:
4
plugins/snapshot/package-lock.json
generated
4
plugins/snapshot/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@scrypted/snapshot",
|
||||
"version": "0.2.54",
|
||||
"version": "0.2.55",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@scrypted/snapshot",
|
||||
"version": "0.2.54",
|
||||
"version": "0.2.55",
|
||||
"dependencies": {
|
||||
"@types/node": "^20.10.6",
|
||||
"sharp": "^0.33.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@scrypted/snapshot",
|
||||
"version": "0.2.54",
|
||||
"version": "0.2.55",
|
||||
"description": "Snapshot Plugin for Scrypted",
|
||||
"scripts": {
|
||||
"scrypted-setup-project": "scrypted-setup-project",
|
||||
|
||||
@@ -728,7 +728,7 @@ export class SnapshotPlugin extends AutoenableMixinProvider implements MixinProv
|
||||
}
|
||||
};
|
||||
|
||||
if (mixin.storageSettings.values.snapshotResolution === 'Full Resolution')
|
||||
if (mixin?.storageSettings.values.snapshotResolution === 'Full Resolution')
|
||||
delete rpo.picture;
|
||||
|
||||
if (mixin && iface === ScryptedInterface.Camera) {
|
||||
|
||||
Reference in New Issue
Block a user