Skip to content

Commit

Permalink
Add default DETECTION_CONFIRMED
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Sep 6, 2024
1 parent 6e28bbf commit 2317ea4
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 @@ -102,6 +102,10 @@ if ! grep -E '^CONFIRM_SPECIES=' /etc/birdnet/birdnet.conf &>/dev/null;then
echo "CONFIRM_SPECIES=\"0\"" >> /etc/birdnet/birdnet.conf
fi

if ! grep -E '^DETECTION_CONFIRMED=' /etc/birdnet/birdnet.conf &>/dev/null;then
echo "DETECTION_CONFIRMED=\"70\"" >> /etc/birdnet/birdnet.conf
fi

[ -d $RECS_DIR/StreamData ] || sudo_with_user mkdir -p $RECS_DIR/StreamData
[ -L ${EXTRACTED}/spectrogram.png ] || sudo_with_user ln -sf ${RECS_DIR}/StreamData/spectrogram.png ${EXTRACTED}/spectrogram.png

Expand Down

0 comments on commit 2317ea4

Please sign in to comment.