From 1e51f5440c5183cd83023e835721caaff02cc508 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 16 Aug 2024 08:35:58 +0200 Subject: [PATCH] Add ClipName --- birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py b/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py index 7a89c7191..48921f659 100644 --- a/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py +++ b/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py @@ -49,8 +49,7 @@ def get_bird_code(scientific_name): return bird_dict.get(scientific_name) -def automatic_mqtt_publish(file, detection): - path = "" +def automatic_mqtt_publish(file, detection, path): bird = {} bird['Date'] = file.date bird['Time'] = file.time