mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-31 03:11:51 +00:00
Fixed: bdrip/brrip with resolution now recognized as Bluray quality.
This commit is contained in:
parent
ed99fa8698
commit
45b1067d44
1 changed files with 20 additions and 2 deletions
|
@ -111,9 +111,27 @@ public static QualityModel ParseQuality(string name)
|
|||
return result;
|
||||
}
|
||||
|
||||
if (sourceMatch.Groups["dvd"].Success ||
|
||||
sourceMatch.Groups["bdrip"].Success ||
|
||||
if (sourceMatch.Groups["bdrip"].Success ||
|
||||
sourceMatch.Groups["brrip"].Success)
|
||||
{
|
||||
if (resolution == Resolution._720p)
|
||||
{
|
||||
result.Quality = Quality.Bluray720p;
|
||||
return result;
|
||||
}
|
||||
else if (resolution == Resolution._1080p)
|
||||
{
|
||||
result.Quality = Quality.Bluray1080p;
|
||||
return result;
|
||||
}
|
||||
else
|
||||
{
|
||||
result.Quality = Quality.DVD;
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
if (sourceMatch.Groups["dvd"].Success)
|
||||
{
|
||||
result.Quality = Quality.DVD;
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue