From 6e4a31b26ab99f70e43812858837401f8da7089b Mon Sep 17 00:00:00 2001 From: holzi1005 Date: Tue, 7 Jan 2025 18:15:07 +0100 Subject: [PATCH] use id --- inotify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inotify.sh b/inotify.sh index 3b17865..9771e7f 100644 --- a/inotify.sh +++ b/inotify.sh @@ -40,7 +40,7 @@ inotifywait -m /out -e close_write | # Chunk hochladen curl --location "$UPLOAD_URL" \ --header "Authorization: Bearer $AUTH_TOKEN" \ - --form "recording_id=${file%.mp4}" \ + --form "recording_id=${id}" \ --form "chunk_index=${i}" \ --form "total_chunks=${num_chunks}" \ --form "file=@$temp_chunk_file"