Skip to content

Commit

Permalink
Add explanation to new variables
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Sep 7, 2024
1 parent 7b3e590 commit f04200b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/update_birdnet_snippets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,14 @@ if ! grep -E '^MAX_FILES_SPECIES=' /etc/birdnet/birdnet.conf &>/dev/null;then
fi

if ! grep -E '^CONFIRM_SPECIES=' /etc/birdnet/birdnet.conf &>/dev/null;then
echo "## CONFIRM_SPECIES adds an icon next to species in the Recordings tab to keep track which species are manually confirmed" >> /etc/birdnet/birdnet.conf
echo "## It generates a confirmed_species_list.txt file, and allows to better visualize species that could be false positives" >> /etc/birdnet/birdnet.conf
echo "CONFIRM_SPECIES=\"0\"" >> /etc/birdnet/birdnet.conf
fi

if ! grep -E '^DETECTION_CONFIRMED' /etc/birdnet/birdnet.conf &>/dev/null;then
echo "## CONFIDENCE_CONFIRMED allows a specific confidence level to be applied for species in the confirmed_species_list.txt file" >> /etc/birdnet/birdnet.conf
echo "## It is only applied when CONFIRM_SPECIES=1. Keep blank to disable" >> /etc/birdnet/birdnet.conf
echo "DETECTION_CONFIRMED=" >> /etc/birdnet/birdnet.conf
fi

Expand Down

0 comments on commit f04200b

Please sign in to comment.