fix(archive): scans leave sequences waiting for a folder alone and build server images
A sequence created through POST /api/v1/sequences keeps an empty folder until its first frame. Scans no longer adopt loose photos at the archive root under its id, and a rebuild, the orphans report and fix, verify and the scan follow-ups no longer treat it as the root sequence, as missing or as a sequence to analyse. All of them use ArchiveIngest.AwaitsFolder. On the server (ArchiveServiceOptions.ImagesAfterScan), a scan that indexes sequences without thumbnails or proxies queues background Thumbs and Proxies passes for them, as an upload does. A scan that finds photos added or removed clears ThumbsBuilt and ProxiesBuilt together with AnalyzedLight. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
10 files changed
+290
-29
No files matched your search
@@ -17,6 +17,13 @@ public sealed record ArchiveServiceOptions
|
||||
public TimeSpan LeaseWait { get; init; } = TimeSpan.FromMinutes(2);
|
||||
|
||||
public TimeSpan LeaseDuration { get; init; } = LeaseFile.DefaultDuration;
|
||||
|
||||
/// <summary>
|
||||
/// Scans queue thumbnails and proxies of the sequences they index without them, as an upload does (the server, whose
|
||||
/// clients load both from it: BRIEF §4.3, §14.4). The desktop decodes its thumbnails on demand and makes proxies when
|
||||
/// asked.
|
||||
/// </summary>
|
||||
public bool ImagesAfterScan { get; init; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user