diff --git a/Birders_Guide_Installer.sh b/Birders_Guide_Installer.sh index 4d74ec4..e383393 100755 --- a/Birders_Guide_Installer.sh +++ b/Birders_Guide_Installer.sh @@ -411,6 +411,14 @@ VENV=${my_dir}/miniforge/envs/birdnet #_____________These variables are for testing. Please don't touch______________# #_______________them if you are not testing these features.____________________# +# To test different values for RECORDING_LENGTH, first: +# 1) stop the birdnet_recording.service: +#### run: \`sudo systemctl stop birdnet_recording.service` +# 2) remove any remaining audio files in the day's recording directory: +#### Example: to remove recordings for Saturday, October 2nd, 2021, you would +#### run: \`rm -rf /home/pi/BirdSongs/October-2021/02-Saturday/*` +# 3) restart the birdnet_recording.service: +#### run: \`sudo systemctl restart birdnet_recording.service` RECORDING_LENGTH= diff --git a/birdnet.conf-defaults b/birdnet.conf-defaults index 8996af6..ea0e8ee 100644 --- a/birdnet.conf-defaults +++ b/birdnet.conf-defaults @@ -239,6 +239,14 @@ VENV=$(dirname ${my_dir})/miniforge/envs/birdnet #_____________These variables are for testing. Please don't touch______________# #_______________them if you are not testing these features.____________________# +# To test different values for RECORDING_LENGTH, first: +# 1) stop the birdnet_recording.service: +#### run: `sudo systemctl stop birdnet_recording.service` +# 2) remove any remaining audio files in the day's recording directory: +#### Example: to remove recordings for Saturday, October 2nd, 2021, you would +#### run: `rm -rf /home/pi/BirdSongs/October-2021/02-Saturday/*` +# 3) restart the birdnet_recording.service: +#### run: `sudo systemctl restart birdnet_recording.service` RECORDING_LENGTH= diff --git a/scripts/install_config.sh b/scripts/install_config.sh index eb24fe7..adaa9c1 100755 --- a/scripts/install_config.sh +++ b/scripts/install_config.sh @@ -432,6 +432,15 @@ VENV=$(dirname ${my_dir})/miniforge/envs/birdnet #_____________These variables are for testing. Please don't touch______________# #_______________them if you are not testing these features.____________________# +# To test different values for RECORDING_LENGTH, first: +# 1) stop the birdnet_recording.service: +#### run: \`sudo systemctl stop birdnet_recording.service` +# 2) remove any remaining audio files in the day's recording directory: +#### Example: to remove recordings for Saturday, October 2nd, 2021, you would +#### run: \`rm -rf /home/pi/BirdSongs/October-2021/02-Saturday/*` +# 3) restart the birdnet_recording.service: +#### run: \`sudo systemctl restart birdnet_recording.service` + RECORDING_LENGTH=