updating references to old repo to new repo

This commit is contained in:
Patrick McGuire
2021-09-28 14:48:25 -04:00
parent 7d31737f03
commit bc2d3df898
42 changed files with 3078 additions and 217 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -x
source /etc/birdnet/birdnet.conf
if pgrep arecord &> /dev/null ;then
echo "Recording"
else
if [ -z ${REC_CARD} ];then
arecord -f S16_LE -c${CHANNELS} -r48000 -t wav --max-file-time 60 \
--use-strftime ${RECS_DIR}/%B-%Y/%d-%A/%F-birdnet-%I:%M%P.wav
else
arecord -f S16_LE -c${CHANNELS} -r48000 -t wav --max-file-time 60 \
-D "${REC_CARD}" --use-strftime \
${RECS_DIR}/%B-%Y/%d-%A/%F-birdnet-%I:%M%P.wav
fi
fi