Prepared Encoder service

This commit is contained in:
Samuele Lorefice
2025-12-14 19:49:38 +01:00
parent 39e6694bbe
commit dbf2f18f26
8 changed files with 106 additions and 42 deletions

9
Encoder/EncodingJob.cs Normal file
View File

@@ -0,0 +1,9 @@
namespace Encoder;
public record EncodingJob(Guid Id) {
public JobStatus Status { get; set; } = JobStatus.Pending;
public DateTime CreatedAt { get; init; } = DateTime.Now;
public DateTime? CompletedAt { get; set; } = null;
public string OrigFilePath { get; init; } = string.Empty;
public string EncodedFilePath { get; set; } = string.Empty;
}