M7 Importazione: sorgenti con sola lettura riconosciuta, analisi in sola lettura interrompibile e ripristinabile (tipo dal contenuto, SHA-256, impronta, date da nome, EXIF scritto a mano, mvhd e ffprobe facoltativo), riconoscitori Febe, generico e 4K Stogram come ipotesi spenta, confronto con la libreria e dentro la sorgente, associazione cartelle-account, decisioni sui doppioni, copia o spostamento verificati con sostituzione sicura, resoconto e CSV; prove

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA
This commit is contained in:
Claude committed 2026-10-13 18:32:01 +00:00
1 parent 6ff11ac8e3
commit 5e77bdefe0
32 files changed
+7707 -3

No files matched your search

+14
View File
@@ -47,6 +47,13 @@ public enum ImportOutcome
/// <summary>«Non riconosciuto»: neither a photo nor a video. Ignored and listed.</summary>
Unrecognized,
/// <summary>
/// Identical (same SHA-256) to another file met earlier in the same source (spec §9.3: «i doppioni si cercano anche
/// dentro la sorgente stessa»). Copied at most once: the copy checks the library again and skips it when its twin
/// is already there.
/// </summary>
IdenticalInSource,
}
/// <summary>Alberto's decision for a file of an import.</summary>
@@ -83,6 +90,9 @@ public enum ImportDateSource
FileName,
Metadata,
ModifiedTime,
/// <summary>The <c>_febe.jsonl</c> of a Febe library used as source: the exact publication time.</summary>
Journal,
}
/// <summary>An import (spec §8.3 <c>import_run</c>).</summary>
@@ -177,5 +187,9 @@ public sealed record ImportFile
/// <summary>Path of the copy relative to the account folder.</summary>
public string? DestinationPath { get; init; }
/// <summary>
/// Last error or note, in Italian, for the report: why the file failed, was skipped or stays out (e.g. «La cartella
/// non è associata a un account»), or what the copy did (e.g. a replacement chosen by Alberto).
/// </summary>
public string? LastError { get; init; }
}