Skip to content

Commit

Permalink
reolink: fix missing debug setting
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Nov 21, 2024
1 parent 8e0e285 commit 96fa6af
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plugins/reolink/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/reolink/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/reolink",
"version": "0.0.99",
"version": "0.0.100",
"description": "Reolink Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",
Expand Down
8 changes: 6 additions & 2 deletions plugins/reolink/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -818,8 +818,12 @@ class ReolinkCamera extends RtspSmartCamera implements Camera, DeviceProvider, R
];
}

getOtherSettings(): Promise<Setting[]> {
return this.storageSettings.getSettings();
async getOtherSettings(): Promise<Setting[]> {
const ret = await super.getOtherSettings();
return [
...await this.storageSettings.getSettings(),
...ret,
];
}

getRtmpAddress() {
Expand Down

0 comments on commit 96fa6af

Please sign in to comment.