snapshot: aspect ratio description

This commit is contained in:
Koushik Dutta
2025-11-17 15:19:58 -08:00
parent c6771ce8ae
commit 72c7736b2a
3 changed files with 4 additions and 4 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/snapshot",
"version": "0.2.64",
"version": "0.2.66",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/snapshot",
"version": "0.2.64",
"version": "0.2.66",
"dependencies": {
"@types/node": "^22.10.2",
"sharp": "^0.33.5",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/snapshot",
"version": "0.2.64",
"version": "0.2.66",
"description": "Snapshot Plugin for Scrypted",
"scripts": {
"scrypted-setup-project": "scrypted-setup-project",

View File

@@ -125,7 +125,7 @@ class SnapshotMixin extends SettingsMixinDeviceBase<Camera> implements Camera, R
},
snapshotAspectRatio: {
title: 'Snapshot Aspect Ratio',
description: 'Set a fixed aspect ratio for snapshots (e.g., 1.777 for 16:9). Used when explicit width/height are not provided.',
description: 'Override the aspect ratio for snapshots (e.g., 1.777 for 16:9). Images from the camera will be resized to this aspect ratio.',
type: 'number',
placeholder: '1.777',
},