@apocaliss92/scrypted-reolink-native 0.4.49 → 0.4.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/plugin.zip CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apocaliss92/scrypted-reolink-native",
3
- "version": "0.4.49",
3
+ "version": "0.4.50",
4
4
  "description": "Use any reolink camera with Scrypted, even older/unsupported models without HTTP protocol support",
5
5
  "author": "@apocaliss92",
6
6
  "license": "Apache",
package/src/nvr.ts CHANGED
@@ -538,7 +538,7 @@ export class ReolinkNativeNvrDevice
538
538
 
539
539
  const allNativeIds = sdk.deviceManager
540
540
  .getNativeIds()
541
- .filter((nid) => !!nid);
541
+ .filter((nid) => !!nid && nid !== this.nativeId);
542
542
 
543
543
  const matchingNativeId = allNativeIds.find(
544
544
  (nid) =>