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"