more efficient birndet_analysis.service

more efficient extraction.service
cleaner birdnet_analysis logging
cleaner birdnet.conf
functioning species_notifier
This commit is contained in:
Patrick McGuire
2021-09-30 19:23:13 -04:00
parent 9de946d72d
commit 010dec34ee
9 changed files with 40 additions and 68 deletions
+2 -2
View File
@@ -12,10 +12,10 @@ 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 9\
arecord -f S16_LE -c${CHANNELS} -r48000 -t wav --max-file-time 6\
--use-strftime ${RECS_DIR}/%B-%Y/%d-%A/%F-birdnet-${STAMP}.wav
else
arecord -f S16_LE -c${CHANNELS} -r48000 -t wav --max-file-time 9\
arecord -f S16_LE -c${CHANNELS} -r48000 -t wav --max-file-time 6\
-D "${REC_CARD}" --use-strftime \
${RECS_DIR}/%B-%Y/%d-%A/%F-birdnet-${STAMP}.wav
fi