From 532127d8723049c4d7eb6e7d13c6a41fa40513e7 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 4 Feb 2025 20:02:01 +0100 Subject: [PATCH] Prioritize /tmp/StreamData --- birdnet-pi/rootfs/custom-services.d/30-monitoring.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/birdnet-pi/rootfs/custom-services.d/30-monitoring.sh b/birdnet-pi/rootfs/custom-services.d/30-monitoring.sh index 890cef710..43acfd908 100755 --- a/birdnet-pi/rootfs/custom-services.d/30-monitoring.sh +++ b/birdnet-pi/rootfs/custom-services.d/30-monitoring.sh @@ -30,6 +30,9 @@ log_green "Starting service: throttlerecording" # Define Directories, Files, and Constants ######################################## INGEST_DIR="${RECS_DIR/StreamData:-$HOME/BirdSongs/StreamData}" +if [ /tmp/StreamData ]; then + INGEST_DIR="/tmp/StreamData" +fi ANALYZING_NOW_FILE="$INGEST_DIR/analyzing_now.txt" touch "$ANALYZING_NOW_FILE"