Update birdnet_to_mqtt.py

This commit is contained in:
Alexandre
2024-08-14 11:58:20 +02:00
committed by GitHub
parent d168737a43
commit ecd48d4571

View File

@@ -59,7 +59,7 @@ def automatic_mqtt_publish(file, detections):
bird['CommonName'] = detection.common_name
bird['Confidence'] = detection.confidence
bird['SpeciesCode'] = get_bird_code(detection.scientific_name)
bird['ClipName'] = os.path.basename(detection.file_name_ext)
bird['ClipName'] = path
bird['url'] = bird_lookup_url_base + detection.scientific_name
image_url = ""