working species notifier

This commit is contained in:
Patrick McGuire
2021-09-30 14:47:34 -04:00
parent 50d6a56ae5
commit a3856e23d7
-3
View File
@@ -19,10 +19,7 @@ if ! diff "${IDFILE}" "${TMPFILE}" &> /dev/null; then
| awk '{for(i=4;i<=NF;++i)printf $i""FS ; print ""}')")
NOTIFICATION="New Species Detection: "${SPECIES[@]}""
echo "${NOTIFICATION}" && exit
sudo systemctl restart birdnet_analysis && sleep 30
sudo systemctl start extraction
if [ ! -z ${PUSHED_APP_KEY} ];then
curl -X POST -s \
--form-string "app_key=${PUSHED_APP_KEY}" \