Made the service basically start working
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
namespace Encoder;
|
||||
|
||||
public record EncodingJob(Guid Id) {
|
||||
public record EncodingJob(Guid Id, string OrigFilePath) {
|
||||
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;
|
||||
public float Progress { get; set; } = 0.0f;
|
||||
}
|
||||
Reference in New Issue
Block a user