Initial commit: Futonizer MKV track stripper
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Futonizer.Models;
|
||||
|
||||
/// <summary>
|
||||
/// One record of a previously-run strip (or copy) job, persisted so it can
|
||||
/// be reviewed later from Settings.
|
||||
/// </summary>
|
||||
public class HistoryEntry
|
||||
{
|
||||
public DateTime Timestamp { get; set; }
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
public string FilePath { get; set; } = string.Empty;
|
||||
public bool Success { get; set; }
|
||||
public string Message { get; set; } = string.Empty;
|
||||
|
||||
[JsonIgnore]
|
||||
public bool Failed => !Success;
|
||||
|
||||
[JsonIgnore]
|
||||
public string TimestampDisplay => Timestamp.ToString("yyyy-MM-dd HH:mm");
|
||||
}
|
||||
Reference in New Issue
Block a user