added testing variable for RECORDING_LENGTH

This commit is contained in:
Patrick McGuire
2021-10-01 16:00:31 -04:00
parent bc60ab697c
commit c3db0bed44
4 changed files with 34 additions and 2 deletions
+11
View File
@@ -405,6 +405,17 @@ SYSTEMD_MOUNT=$(echo ${RECS_DIR#/} | tr / -).mount
## i.e, VENV is the virtual environment miniforge built for BirdNET.
VENV=${my_dir}/miniforge/envs/birdnet
################################################################################
#---------------------------------- Testing -----------------------------------#
#_____________These variables are for testing. Please don't touch______________#
#_______________them if you are not testing these features.____________________#
RECORDING_LENGTH=
EXTRACTION_LENGTH=
EOF
[ -d /etc/birdnet ] || sudo mkdir /etc/birdnet
sudo ln -sf ${my_dir}/birdnet.conf /etc/birdnet/birdnet.conf