The growing_promote_after_seconds setting was stored but NEVER read — no scanner existed, so growing clips only left the SMB share on a manual right-click 'Move to S3'. This adds the missing automation: - promotion-scanner.js: every 60s, finds pending_migration assets idle (updated_at) longer than settings.growing_promote_after_seconds and enqueues a promotion job. Idempotent (status guard + stable jobId) so it's safe on every promotion worker. 12h default fallback. - worker/index.js: starts the scanner on promotion-capable workers. - Settings UI: the delay field is now 'Auto-promote to S3 after (hours)' (converts hours<->seconds; storage stays seconds). Notes the manual Library right-click 'Move to S3' option too. Manual promotion (right-click Move to S3) and the safe HLS-segment live thumbnail were already implemented and working. |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src/css | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| nginx.conf | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||