Added in Bluray 1080P Quality Type.

Added additional columns for AllowedQuality
This commit is contained in:
markus101 2011-01-31 17:01:49 -08:00
parent 63336ed58d
commit 1cf5e55e61
3 changed files with 14 additions and 3 deletions

View File

@ -90,7 +90,12 @@ namespace NzbDrone.Core
} }
if (name.Contains("bluray") || name.Contains("bdrip")) 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")) if (name.Contains("web-dl"))
return QualityTypes.WEBDL; return QualityTypes.WEBDL;
if (name.Contains("x264") || name.Contains("h264") || name.Contains("720p")) if (name.Contains("x264") || name.Contains("h264") || name.Contains("720p"))

View File

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

View File

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