mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-31 11:22:06 +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;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sourceMatch.Groups["dvd"].Success ||
|
if (sourceMatch.Groups["bdrip"].Success ||
|
||||||
sourceMatch.Groups["bdrip"].Success ||
|
|
||||||
sourceMatch.Groups["brrip"].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;
|
result.Quality = Quality.DVD;
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue