@apocaliss92/scrypted-reolink-native 0.1.39 → 0.1.41
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/main.nodejs.js +1 -1
- package/dist/plugin.zip +0 -0
- package/package.json +1 -1
- package/src/nvr.ts +4 -1
package/dist/plugin.zip
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/nvr.ts
CHANGED
|
@@ -533,7 +533,10 @@ export class ReolinkNativeNvrDevice extends BaseBaichuanClass implements Setting
|
|
|
533
533
|
|
|
534
534
|
this.channelToNativeIdMap.set(channel, nativeId);
|
|
535
535
|
|
|
536
|
-
|
|
536
|
+
const allNativeIds = sdk.deviceManager.getNativeIds().filter(nid => !!nid);
|
|
537
|
+
|
|
538
|
+
if (allNativeIds.some(nid => nid.includes(uid)) ||
|
|
539
|
+
allNativeIds.includes(nativeId)) {
|
|
537
540
|
continue;
|
|
538
541
|
}
|
|
539
542
|
|