A live bird collage card for your Home Assistant dashboard.
CUSTOM_IMAGE fixes
ehpersonal38ab6779995804
diff --git a/birdnet.conf-defaults b/birdnet.conf-defaultsindex b329455c..8cc19f0b 100644--- a/birdnet.conf-defaults+++ b/birdnet.conf-defaults@@ -211,7 +211,7 @@ HEARTBEAT_URL=## updating picture of your garden, for example.CUSTOM_IMAGE=-CUSTOM_IMAGE_TITLE=+CUSTOM_IMAGE_TITLE=""## These are just for debuggingLAST_RUN=diff --git a/scripts/advanced.php b/scripts/advanced.phpindex ebd7d1e3..4475b810 100644--- a/scripts/advanced.php+++ b/scripts/advanced.php@@ -317,10 +317,12 @@ foreach($formats as $format){<label for="raw_spectrogram">Minimalist Spectrograms: </label><input type="checkbox" name="raw_spectrogram" <?php if($newconfig['RAW_SPECTROGRAM'] == 1) { echo "checked"; };?> ><br>+ <br>++ <p>These allow you to show a custom image on the Overview page of your BirdNET-Pi. This can be used to show a dynamically updating picture of your garden, for example.</p><br><label for="custom_image">Custom Image Absolute Path: </label><input name="custom_image" type="text" value="<?php print($newconfig['CUSTOM_IMAGE']);?>"/><br>- <hr><label for="custom_image_label">Custom Image Label: </label><input name="custom_image_label" type="text" value="<?php print($newconfig['CUSTOM_IMAGE_TITLE']);?>"/><br>diff --git a/scripts/install_config.sh b/scripts/install_config.shindex cdc386bc..f60c077a 100755--- a/scripts/install_config.sh+++ b/scripts/install_config.sh@@ -238,7 +238,7 @@ RAW_SPECTROGRAM=0## updating picture of your garden, for example.CUSTOM_IMAGE=-CUSTOM_IMAGE_TITLE=+CUSTOM_IMAGE_TITLE=""## These are just for debuggingLAST_RUN=diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.shindex ff8a0173..8b0bd287 100755--- a/scripts/update_birdnet_snippets.sh+++ b/scripts/update_birdnet_snippets.sh@@ -178,7 +178,7 @@ if ! grep CUSTOM_IMAGE /etc/birdnet/birdnet.conf &>/dev/null;thensudo -u$USER echo "CUSTOM_IMAGE=" >> /etc/birdnet/birdnet.conffiif ! grep CUSTOM_IMAGE_TITLE /etc/birdnet/birdnet.conf &>/dev/null;then- sudo -u$USER echo "CUSTOM_IMAGE_TITLE=" >> /etc/birdnet/birdnet.conf+ sudo -u$USER echo "CUSTOM_IMAGE_TITLE=\"\"" >> /etc/birdnet/birdnet.conffi