Skip to main content

How Spiro Detects Completed Uploads and Sends Files to AutoHDR

Todd Kivimaki avatar
Written by Todd Kivimaki
Updated this week

When using Dropbox to upload images, Spiro follows a specific process to ensure all files are uploaded before sending them to AutoHDR for editing. Here’s how the logic works:


πŸ” Upload Detection Process

  1. Dropbox Upload Notification:
    Dropbox notifies Spiro that files have started uploading.

  2. Initial File Count Logged:
    Spiro scans the folder and records the number of uploaded files (Example: 20 files).

  3. Wait 15 Minutes:
    Spiro waits to allow time for additional files to upload.

  4. Compare File Counts:
    Spiro scans the folder again:

    • If the file count increased, Spiro updates the file count and returns to Step 3.

    • If the file count stays the same, it records a 1st match and waits another 15 minutes.

  5. Second Match Check:
    Spiro scans the folder again:

    • If the count has changed, it updates and restarts the wait-check process.

    • If the count matches the previous count for the second time, it proceeds to the next step.

  6. Send to AutoHDR:
    After three consistent counts (initial + two matches), Spiro sends the files to AutoHDR.


⚑ Best-Case Scenario Example

  • Initial Notification: Spiro is notified and counts 20 files.

  • 15 Minutes Later: All 100 images have uploaded. Spiro updates the count to 100.

  • 15 Minutes Later: Count still 100 β†’ 1st match.

  • 15 Minutes Later: Count still 100 β†’ 2nd match.

  • Files sent to AutoHDR.


⏱ Estimated Timelines

  • File Upload Monitoring: 15–45 minutes

  • AutoHDR Processing: Up to 30 minutes

  • Images Returned to Dropbox: 15–30 minutes

  • Gallery Import from Dropbox: 15–30 minutes

⏳ Total Estimated Turnaround (Best Case):
​120 to 165 minutes if all images are uploaded within the first 15 minutes.

Step

Action

Time Elapsed

1

Spiro detects 20 files

0 min

2

100 files finish uploading

15 min

3

Spiro sees 100 files (Count Updated)

15 min

4

Spiro checks again – still 100 (1st Match)

30 min

5

Spiro checks again – still 100 (2nd Match)

45 min

6

Files sent to AutoHDR

45 min

7

AutoHDR processes images

up to 30 min

8

Edited images returned to Dropbox

15–30 min

9

Images imported into Spiro Gallery

15–30 min

Did this answer your question?