From 9427ff6453293cb9d581a72fba720646bcf12480 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Fri, 4 Oct 2024 10:29:13 +1000 Subject: [PATCH] AVAHISCAN / mDNS #815 --- front/plugins/avahi_scan/config.json | 2 +- server/device.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/front/plugins/avahi_scan/config.json b/front/plugins/avahi_scan/config.json index 144a48da..b45d7f1f 100755 --- a/front/plugins/avahi_scan/config.json +++ b/front/plugins/avahi_scan/config.json @@ -86,7 +86,7 @@ } ] }, - "default_value": "python3 /app/front/plugins/avahi_scan/nbtscan.py", + "default_value": "python3 /app/front/plugins/avahi_scan/avahi_scan.py", "options": [], "localized": ["name", "description"], "name": [ diff --git a/server/device.py b/server/device.py index f27e77da..a5d1a1a1 100755 --- a/server/device.py +++ b/server/device.py @@ -550,7 +550,7 @@ def update_devices_names (db): recordsToUpdate.append ([newName, device['dev_MAC']]) # Print log - mylog('verbose', [f'[Update Device Name] Names Found (DiG/mDNS/NSLOOKUP/NBTSCAN/Pholus): {len(recordsToUpdate)} ( {foundmDNSLookup}/{foundDig}/{foundNsLookup}/{foundNbtLookup}/{foundPholus})'] ) + mylog('verbose', [f'[Update Device Name] Names Found (DiG/mDNS/NSLOOKUP/NBTSCAN/Pholus): {len(recordsToUpdate)} ({foundmDNSLookup}/{foundDig}/{foundNsLookup}/{foundNbtLookup}/{foundPholus})'] ) mylog('verbose', [f'[Update Device Name] Names Not Found : {notFound}'] ) # update not found devices with (name not found)