A live bird collage card for your Home Assistant dashboard.
fix: rtsps is rtsp too
frederik28bfe59204b4
diff --git a/scripts/birdnet_recording.sh b/scripts/birdnet_recording.shindex 18fd6a20..bbf3fe44 100755--- a/scripts/birdnet_recording.sh+++ b/scripts/birdnet_recording.sh@@ -33,7 +33,7 @@ if [ ! -z $RTSP_STREAM ];then# Loop over the streamsfor i in "${RTSP_STREAMS_EXPLODED_ARRAY[@]}"do- if [[ "$i" == "rtsp://"* ]]; then+ if [[ "$i" =~ ^rtsps?:// ]]; then[ $FFMPEG_VERSION -lt 5 ] && PARAM=-stimeout || PARAM=-timeoutTIMEOUT_PARAM="$PARAM 10000000"elif [[ "$i" =~ ^[a-z]+:// ]]; then