
* Started working on a report problems implementation. * Started code * Added logging to book and archive service. * Removed an additional ComicInfo read when comicinfo is null when trying to load. But we've already done it once earlier, so there really isn't any point. * Added basic implementation for media errors. * MediaErrors will ignore duplicate errors when there are multiple issues on same file in a scan. * Fixed unit tests * Basic code in place to view and clear. Just UI Cleanup needed. * Slight css upgrade * Fixed up centering and simplified the code to use regular array instead of observables as it wasn't working. * Fixed unit tests * Fixed unit tests for real
25 lines
659 B
C#
25 lines
659 B
C#
using System;
|
|
|
|
namespace API.DTOs.MediaErrors;
|
|
|
|
public class MediaErrorDto
|
|
{
|
|
/// <summary>
|
|
/// Format Type (RAR, ZIP, 7Zip, Epub, PDF)
|
|
/// </summary>
|
|
public required string Extension { get; set; }
|
|
/// <summary>
|
|
/// Full Filepath to the file that has some issue
|
|
/// </summary>
|
|
public required string FilePath { get; set; }
|
|
/// <summary>
|
|
/// Developer defined string
|
|
/// </summary>
|
|
public string Comment { get; set; }
|
|
/// <summary>
|
|
/// Exception message
|
|
/// </summary>
|
|
public string Details { get; set; }
|
|
public DateTime Created { get; set; }
|
|
public DateTime CreatedUtc { get; set; }
|
|
}
|