feat(P2): videos library, verified video trash and copy job, render hashes and still jobs
Renders now record their SHA-256 and kind, so copies, deletes and restores can be verified. The new videos library lists every render with paging and filters, deletes into the archive trash after a dry run whose fingerprint must still match (journalled, so a crash mid-move is settled on open), restores by id refusing a tampered file, and a VideoCopy job copies renders hash-verified into a videos folder outside the archive, never overwriting. A still job saves one frame as an image through an interim Data-side path until P1's Core still API lands. Batch exports keep the playback and routing uses the job's own export, so a playback job needs settings format 3 and an older node never claims it. Refs #21 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d472dfdec1
commit
03b4d0ef60
23 files changed
+2123
-72
No files matched your search
@@ -213,8 +213,9 @@ public sealed partial class SequenceTrash
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The entries of an archive's trash, newest first: deleted sequences (<c>trash/*.json</c>) and deleted photos
|
||||
/// (<c>trash/photos/*.json</c>); records whose folder is gone are left out.
|
||||
/// The entries of an archive's trash, newest first: deleted sequences (<c>trash/*.json</c>), deleted photos
|
||||
/// (<c>trash/photos/*.json</c>) and deleted videos (<c>trash/videos/*.json</c>, owner review 1, R9); records whose folder
|
||||
/// is gone are left out.
|
||||
/// </summary>
|
||||
public async Task<IReadOnlyList<TrashEntry>> ListAsync(Archive archive, CancellationToken cancellationToken = default)
|
||||
{
|
||||
@@ -232,6 +233,7 @@ public sealed partial class SequenceTrash
|
||||
entries.Add(Entry(archive.Id, name, record));
|
||||
}
|
||||
entries.AddRange(FrameTrash.List(archive, cancellationToken));
|
||||
entries.AddRange(Chronos.Data.Videos.VideoTrash.List(archive, cancellationToken));
|
||||
return entries.OrderByDescending(e => e.DeletedAt).ThenBy(e => e.Name, StringComparer.Ordinal).ToList();
|
||||
}, cancellationToken).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user