Daemon recorder for nocturnal bird migration
conf | ||
src | ||
.gitignore | ||
install.sh | ||
LICENSE | ||
Makefile | ||
README.md | ||
run.sh |
NBMrec
Daemon recorder for nocturnal bird migration
Install
sudo make install
Disable temporary
sudo systemctl disable --now nbmrec.timer
Uninstall
sudo make uninstall
Configuration
In ./usr/local/etc/nbmrec/nbmrec.conf, you can specify a start and end time:
START_TIME=22:00
END_TIME=06:00
If you change the start date, you should update the systemd timer nbmrec.timer
accordingly:
#/etc/systemd/system/nbmrec.timer
[...]
OnCalendar=*-*-* 22:00
[...]
Do not forget to reload systemd daemon after that:
sudo systemctl daemon-reload
You could also prefer modify ./conf/nbmrec.conf, and run make install
after each modification.
You can set an other output folder for your records:
RECORD_DIR=/mnt/DATA/media/records
Or a filename prefix for your recordings:
PREFIX=nbmrec
This way, the records filename will be in the form nbmrec_20220630_220000.wav
.
Enjoy !