namespace Parser.Core;

public enum QualitySource
{
    Unknown = 0,
    Cam,
    Telesync,
    Telecine,
    Workprint,
    DVD,
    TV,
    WebDL,
    WebRip,
    Bluray
}

public enum Resolution
{
    Unknown = 0,
    R360p = 360,
    R480p = 480,
    R540p = 540,
    R576p = 576,
    R720p = 720,
    R1080p = 1080,
    R2160p = 2160
}

public enum QualityModifier
{
    None = 0,
    Regional,
    Screener,
    RawHD,
    BRDisk,
    Remux
}

public class Revision
{
    public int Version { get; set; } = 1;
    public int Real { get; set; }
    public bool IsRepack { get; set; }
}

public class QualityResult
{
    public QualitySource Source { get; set; } = QualitySource.Unknown;
    public Resolution Resolution { get; set; } = Resolution.Unknown;
    public QualityModifier Modifier { get; set; } = QualityModifier.None;
    public Revision Revision { get; set; } = new();
}
