Skip to content

Commit

Permalink
Integer, not string
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Sep 7, 2024
1 parent 24bae70 commit 8e842cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/update_birdnet_snippets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ if ! grep -E '^COLOR_SCHEME=' /etc/birdnet/birdnet.conf &>/dev/null;then
fi

if ! grep -E '^MAX_FILES_SPECIES=' /etc/birdnet/birdnet.conf &>/dev/null;then
echo "MAX_FILES_SPECIES=\"0\"" >> /etc/birdnet/birdnet.conf
echo "MAX_FILES_SPECIES=0" >> /etc/birdnet/birdnet.conf
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
echo "CONFIRM_SPECIES=0" >> /etc/birdnet/birdnet.conf
fi

if ! grep -E '^CONFIDENCE_CONFIRMED' /etc/birdnet/birdnet.conf &>/dev/null;then
Expand Down

0 comments on commit 8e842cb

Please sign in to comment.