@scrypted/amcrest
Advanced tools
Comparing version 0.0.82 to 0.0.83
{ | ||
"name": "@scrypted/amcrest", | ||
"version": "0.0.82", | ||
"version": "0.0.83", | ||
"description": "Amcrest Plugin for Scrypted", | ||
@@ -5,0 +5,0 @@ "author": "Scrypted", |
@@ -152,3 +152,4 @@ import sdk, { MediaObject, Camera, ScryptedInterface, Setting, ScryptedDeviceType, Intercom, FFMpegInput, ScryptedMimeTypes, PictureOptions, VideoCameraConfiguration, MediaStreamOptions } from "@scrypted/sdk"; | ||
async getOtherSettings(): Promise<Setting[]> { | ||
const ret: Setting[] = [ | ||
const ret = await super.getOtherSettings(); | ||
ret.push( | ||
{ | ||
@@ -162,6 +163,6 @@ title: 'Doorbell Type', | ||
description: 'If this device is a doorbell, select the appropriate doorbell type.', | ||
value: this.storage.getItem('doorbellType'), | ||
value: this.storage.getItem('doorbellType') || 'Not a Doorbell', | ||
key: 'doorbellType', | ||
}, | ||
]; | ||
); | ||
@@ -194,2 +195,3 @@ const doorbellType = this.storage.getItem('doorbellType'); | ||
title: 'Channel Number Override', | ||
group: 'Advanced', | ||
description: "The channel number to use for snapshots and video. E.g., 1, 2, etc.", | ||
@@ -196,0 +198,0 @@ placeholder: '1', |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
266415
813