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
Dropbox Upload Notification:
Dropbox notifies Spiro that files have started uploading.Initial File Count Logged:
Spiro scans the folder and records the number of uploaded files (Example: 20 files).Wait 15 Minutes:
Spiro waits to allow time for additional files to upload.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.
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.
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 |