From e928b3dcabcd22b31bf8f243447cd2c171d81583 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Thu, 9 Sep 2021 19:38:12 -0700 Subject: [PATCH] update --- plugins/core/package-lock.json | 4 ++-- plugins/core/package.json | 2 +- plugins/core/ui/src/common/mixin.ts | 2 +- plugins/homekit/package-lock.json | 4 ++-- plugins/homekit/package.json | 2 +- plugins/homekit/src/types/camera.ts | 6 +++--- plugins/prebuffer-mixin/package-lock.json | 4 ++-- plugins/prebuffer-mixin/package.json | 2 +- plugins/prebuffer-mixin/src/main.ts | 4 ++-- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/plugins/core/package-lock.json b/plugins/core/package-lock.json index 4122732c1..acbef8ec5 100644 --- a/plugins/core/package-lock.json +++ b/plugins/core/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/core", - "version": "0.0.77", + "version": "0.0.78", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/core", - "version": "0.0.77", + "version": "0.0.78", "license": "Apache-2.0", "dependencies": { "@scrypted/sdk": "file:../../sdk", diff --git a/plugins/core/package.json b/plugins/core/package.json index 534df20a3..162e83845 100644 --- a/plugins/core/package.json +++ b/plugins/core/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/core", - "version": "0.0.77", + "version": "0.0.78", "description": "Scrypted Core plugin. Provides the UI, websocket, and engine.io APIs.", "author": "Scrypted", "license": "Apache-2.0", diff --git a/plugins/core/ui/src/common/mixin.ts b/plugins/core/ui/src/common/mixin.ts index 20b0c6bcd..7ccbf2915 100644 --- a/plugins/core/ui/src/common/mixin.ts +++ b/plugins/core/ui/src/common/mixin.ts @@ -4,7 +4,7 @@ export async function setMixin(systemManager: SystemManager, device: ScryptedDev const plugins = await systemManager.getComponent( "plugins" ); - let mixins = device.mixins.slice(); + let mixins = (device.mixins || []).slice(); if (enabled) { mixins.push(mixinId); } else { diff --git a/plugins/homekit/package-lock.json b/plugins/homekit/package-lock.json index a4ac2cd89..01acc452d 100644 --- a/plugins/homekit/package-lock.json +++ b/plugins/homekit/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/homekit", - "version": "0.0.37", + "version": "0.0.39", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/homekit", - "version": "0.0.37", + "version": "0.0.39", "dependencies": { "axios": "^0.21.1", "hap-nodejs": "file:../HAP-NodeJS", diff --git a/plugins/homekit/package.json b/plugins/homekit/package.json index 59f139b34..a6f12eb92 100644 --- a/plugins/homekit/package.json +++ b/plugins/homekit/package.json @@ -42,5 +42,5 @@ "@types/node": "^14.17.9", "@types/url-parse": "^1.4.3" }, - "version": "0.0.37" + "version": "0.0.39" } diff --git a/plugins/homekit/src/types/camera.ts b/plugins/homekit/src/types/camera.ts index 1b524b1c2..64cdd0146 100644 --- a/plugins/homekit/src/types/camera.ts +++ b/plugins/homekit/src/types/camera.ts @@ -327,10 +327,10 @@ addSupportedType({ console.log(args); const cp = child_process.spawn(await mediaManager.getFFmpegPath(), args, { - stdio: 'ignore', + // stdio: 'ignore', }); - // cp.stdout.on('data', data => console.log(data.toString())); - // cp.stderr.on('data', data => console.error(data.toString())); + cp.stdout.on('data', data => console.log(data.toString())); + cp.stderr.on('data', data => console.error(data.toString())); session.cp = cp; } diff --git a/plugins/prebuffer-mixin/package-lock.json b/plugins/prebuffer-mixin/package-lock.json index b30c92169..8ff15661e 100644 --- a/plugins/prebuffer-mixin/package-lock.json +++ b/plugins/prebuffer-mixin/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/prebuffer-mixin", - "version": "0.1.34", + "version": "0.1.36", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/prebuffer-mixin", - "version": "0.1.34", + "version": "0.1.36", "license": "Apache-2.0", "dependencies": { "@scrypted/common": "file:../../common", diff --git a/plugins/prebuffer-mixin/package.json b/plugins/prebuffer-mixin/package.json index 84ecf34a6..c7ecef044 100644 --- a/plugins/prebuffer-mixin/package.json +++ b/plugins/prebuffer-mixin/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/prebuffer-mixin", - "version": "0.1.34", + "version": "0.1.36", "description": "Rebroadcast and Prebuffer for VideoCameras.", "author": "Scrypted", "license": "Apache-2.0", diff --git a/plugins/prebuffer-mixin/src/main.ts b/plugins/prebuffer-mixin/src/main.ts index 49a793a1a..a6c16d6c8 100644 --- a/plugins/prebuffer-mixin/src/main.ts +++ b/plugins/prebuffer-mixin/src/main.ts @@ -40,7 +40,7 @@ class PrebufferMixin extends SettingsMixinDeviceBase implements Vid super(mixinDevice, mixinDeviceState, { providerNativeId, mixinDeviceInterfaces, - group: "Prebuffer Settings", + group: "Rebroadcast and Prebuffer Settings", groupKey: "prebuffer", }); @@ -62,7 +62,7 @@ class PrebufferMixin extends SettingsMixinDeviceBase implements Vid }, { title: 'Detected Keyframe Interval', - description: "Currently detected keyframe. This value may vary based on the stream behavior.", + description: "Currently detected keyframe interval. This value may vary based on the stream behavior.", readonly: true, key: 'detectedIdr', value: this.idrInterval.toString(),