feat: export panel and Render menu, playback options, videos library (owner review 1 phase 5) (#27)
CI / Build and test (push) Successful in 9m41s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 9s
Release / Build, test and publish (push) Successful in 14m49s
CI / PostgreSQL 16 integration (push) Successful in 8m51s
CI / PostgreSQL 17 integration (push) Successful in 9m48s
CI / Docker image (push) Successful in 54s
Release / Server image (push) Successful in 1m39s
CI / Build and test (push) Successful in 9m41s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 9s
Release / Build, test and publish (push) Successful in 14m49s
CI / PostgreSQL 16 integration (push) Successful in 8m51s
CI / PostgreSQL 17 integration (push) Successful in 9m48s
CI / Docker image (push) Successful in 54s
Release / Server image (push) Successful in 1m39s
Owner review 1 R3, R8, R9. A grouped Export step and Render menu; encoding, playback (reverse, boomerang, loops, fades, hold) and still frames; one videos library on the desktop and the server with a verified trash and copies to a videos folder. Closes #21 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #27.
This commit is contained in:
1 parent
188b2c2e55
commit
728ffa35cb
729 files changed
+26954
-1652
No files matched your search
@@ -8,6 +8,7 @@ using Chronos.Core.Imaging.Decoders;
|
||||
using Chronos.Core.Localization;
|
||||
using Chronos.Core.Model;
|
||||
using Chronos.Core.Project;
|
||||
using Chronos.Core.Video;
|
||||
using Chronos.Data.Processing;
|
||||
using Chronos.Data.Workspaces;
|
||||
using Chronos.Protocol.Client;
|
||||
@@ -65,6 +66,20 @@ public sealed class WorkspaceLocalRenderTests(TestContext context)
|
||||
var (render, _) = ProcessingJobs.ReadRender(parameters.RenderJson);
|
||||
Assert.NotNull(render.SettingsJson, "the portable settings travel with the job");
|
||||
|
||||
// Save frame: a still job on this PC too, with the frame, its photo and the portable settings.
|
||||
Assert.True(session.CanSaveFrames, "a workspace project saves frames");
|
||||
var still = Assert.NotNull(session.StillRequests(Mjpeg, VideoCodec.PngSequence, 1)).Single();
|
||||
Assert.Equal(JobKind.WorkspaceRender, still.Kind);
|
||||
var stillJob = Assert.NotNull(WorkspaceJobs.RenderParameters(new Job { Id = Guid.CreateVersion7(), Kind = still.Kind, ParametersJson = still.ParametersJson }));
|
||||
Assert.Equal((projectId, Server), (stillJob.ProjectId, stillJob.Server));
|
||||
var (frame, _) = ProcessingJobs.ReadRender(stillJob.RenderJson);
|
||||
Assert.True(frame.IsStill);
|
||||
Assert.Equal(1, frame.StillFrame);
|
||||
Assert.Equal(content.Frames[1].Sha256?.ToLowerInvariant(), frame.StillPhoto);
|
||||
Assert.Equal(("pngsequence", projectId), (frame.Codec, frame.ProjectId));
|
||||
Assert.NotNull(frame.SettingsJson, "the portable settings travel with the still");
|
||||
Assert.Null(frame.ProjectVersionId, "another export than the saved one: no version holds these settings");
|
||||
|
||||
// Queued on this PC's engine and listed beside the server's jobs (the render itself is the Data tests': this bed decodes nothing).
|
||||
var jobId = await source.SubmitAsync(request, bed.Ct);
|
||||
var queued = Assert.NotNull(await bed.Db.Jobs.GetAsync(jobId, bed.Ct));
|
||||
|
||||
Reference in new issue
Block a user