Implemented a parallelized, rough, scanning loop which parses out information and leaves us with an immutable dictionary mapping series to parsed infos for each file.

Added some Entities to help translate this into DB.
This commit is contained in:
Joseph Milazzo 2020-12-29 10:47:10 -06:00
parent 49b4ee0022
commit 0a49b07570
7 changed files with 220 additions and 7 deletions

View file

@ -2,13 +2,17 @@
namespace API.Parser
{
/// <summary>
/// This represents a single file
/// </summary>
public class ParserInfo
{
// This can be multiple
public string Chapters { get; set; }
public string Series { get; set; }
// This can be multiple
public string Volume { get; set; }
public IEnumerable<string> Files { get; init; }
public string Volumes { get; set; }
public string File { get; init; }
//public IEnumerable<string> Files { get; init; }
}
}