diff --git a/plugins/hikvision/package-lock.json b/plugins/hikvision/package-lock.json index a6ee2ccef..66269ed51 100644 --- a/plugins/hikvision/package-lock.json +++ b/plugins/hikvision/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/hikvision", - "version": "0.0.52", + "version": "0.0.53", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/hikvision", - "version": "0.0.52", + "version": "0.0.53", "license": "Apache", "dependencies": { "@mhoc/axios-digest-auth": "^0.7.0", diff --git a/plugins/hikvision/package.json b/plugins/hikvision/package.json index 0502f3c3f..196183051 100644 --- a/plugins/hikvision/package.json +++ b/plugins/hikvision/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/hikvision", - "version": "0.0.52", + "version": "0.0.53", "description": "HikVision Plugin for Scrypted", "author": "Scrypted", "license": "Apache", diff --git a/plugins/hikvision/src/hikvision-camera-api.ts b/plugins/hikvision/src/hikvision-camera-api.ts index e78bc2aaf..7207443e3 100644 --- a/plugins/hikvision/src/hikvision-camera-api.ts +++ b/plugins/hikvision/src/hikvision-camera-api.ts @@ -81,7 +81,7 @@ export class HikVisionCameraAPI { this.console.log(data); for (const event of Object.values(HikVisionCameraEvent)) { if (data.indexOf(event) !== -1) { - const channel = data.match(/(.*?)(.*?)(.*?)${this.channel.substr(0, 1)}`) === -1) { continue;