Add queued FFmpeg conversion and finish splitting the window from the host.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-25 01:49:50 +02:00
parent 48d03f794f
commit 6fc7506eb7
85 changed files with 3394 additions and 512 deletions

View File

@@ -157,6 +157,17 @@ public sealed class TransferQueue : BackgroundService, ITransferHost
CreatedUtc = DateTimeOffset.UtcNow
}, cancellationToken);
public Task EnqueueConvertAsync(string sourcePath, string destinationPath, ConversionKind kind, CancellationToken cancellationToken = default)
=> EnqueueAsync(new TransferJob
{
Op = TransferOp.Convert,
SourcePath = sourcePath,
DestinationPath = destinationPath,
Status = TransferStatus.Queued,
CreatedUtc = DateTimeOffset.UtcNow,
AdditionalSources = [kind.ToString()]
}, cancellationToken);
public void PauseAll()
{
_queuePaused = true;