Added in Bluray 1080P Quality Type.

Added additional columns for AllowedQuality
pull/2/head
markus101 14 years ago
parent 63336ed58d
commit 1cf5e55e61

@ -90,7 +90,12 @@ namespace NzbDrone.Core
}
if (name.Contains("bluray") || name.Contains("bdrip"))
return QualityTypes.Bluray;
{
if (name.Contains("1080p"))
return QualityTypes.Bluray1080p;
return QualityTypes.Bluray720p;
}
if (name.Contains("web-dl"))
return QualityTypes.WEBDL;
if (name.Contains("x264") || name.Contains("h264") || name.Contains("720p"))

@ -4,6 +4,8 @@
{
public int Id { get; set; }
public int ProfileId { get; set; }
public int Order { get; set; }
public bool MarkComplete { get; set; }
public QualityTypes Quality { get; set; }
}
}

@ -27,8 +27,12 @@ namespace NzbDrone.Core.Repository.Quality
/// </summary>
WEBDL = 4,
/// <summary>
/// HD File (Blu-ray Source)
/// 720P HD File (Blu-ray Source)
/// </summary>
Bluray = 5
Bluray720p = 5,
/// <summary>
/// 1080P HD File (Blu-ray Source)
/// </summary>
Bluray1080p = 6
}
}
Loading…
Cancel
Save