CUSTOM_IMAGE fixes

This commit is contained in:
ehpersonal38
2023-03-14 22:34:22 -04:00
parent a836a5336c
commit 05ba8a4325
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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 debugging
LAST_RUN=
+1 -1
View File
@@ -320,7 +320,7 @@ foreach($formats as $format){
<label for="custom_image">Custom Image Absolute Path: </label>
<input name="custom_image" type="text" value="<?php print($newconfig['CUSTOM_IMAGE']);?>"/><br>
<hr>
<br>
<label for="custom_image_label">Custom Image Label: </label>
<input name="custom_image_label" type="text" value="<?php print($newconfig['CUSTOM_IMAGE_TITLE']);?>"/><br>
+1 -1
View File
@@ -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 debugging
LAST_RUN=
+1 -1
View File
@@ -178,7 +178,7 @@ if ! grep CUSTOM_IMAGE /etc/birdnet/birdnet.conf &>/dev/null;then
sudo -u$USER echo "CUSTOM_IMAGE=" >> /etc/birdnet/birdnet.conf
fi
if ! 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.conf
fi