diff --git a/scripts/birdnet_analysis.sh b/scripts/birdnet_analysis.sh index ef1fc48..2f4e3e2 100755 --- a/scripts/birdnet_analysis.sh +++ b/scripts/birdnet_analysis.sh @@ -47,7 +47,7 @@ run_analysis() { FILE_LENGTH="$(ffmpeg -i ${1}/${i} 2>&1 \ | awk -F. '/Duration/ {print $1}' \ | cut -d':' -f3-4)" - [ -z ${RECORDING_LENGTH} ] && RECORDING_LENGTH=9 + [ -z ${RECORDING_LENGTH} ] && RECORDING_LENGTH=12 [ ${RECORDING_LENGTH} == "60" ] && RECORDING_LENGTH=01:00 [ "${FILE_LENGTH}" == "00:${RECORDING_LENGTH}" ] || continue diff --git a/scripts/birdnet_recording.sh b/scripts/birdnet_recording.sh index 8a2c3a3..45f6d81 100755 --- a/scripts/birdnet_recording.sh +++ b/scripts/birdnet_recording.sh @@ -8,7 +8,7 @@ else STAMP="%H:%M:%S" fi -[ -z RECORDING_LENGTH ] || RECORDING_LENGTH=9 +[ -z RECORDING_LENGTH ] || RECORDING_LENGTH=12 if pgrep arecord &> /dev/null ;then echo "Recording"