Skip to content

A live bird collage card for your Home Assistant dashboard.

Makes this thing actually work!

Patrick McGuire88030e71b65b
diff --git a/scripts/extract_new_birdsounds.sh b/scripts/extract_new_birdsounds.sh
index 093d09ed..e5dfb140 100755
--- a/scripts/extract_new_birdsounds.sh
+++ b/scripts/extract_new_birdsounds.sh
@@ -117,7 +117,7 @@ for h in "${SCAN_DIRS[@]}";do
fi
sox "${h}/${OLDFILE}" "${NEWSPECIES_BYDATE}/${NEWFILE}" \
- trim "${START}" "${END}"
+ trim ="${START}" ="${END}"
# Create spectrogram for extraction
sox "${NEWSPECIES_BYDATE}/${NEWFILE}" -n remix 1 rate 24k spectrogram \