mirror of
https://github.com/Lidarr/Lidarr
synced 2026-04-24 21:51:36 +02:00
Check for empty description as well in ParseQuality
This commit is contained in:
parent
44add0d884
commit
44824df7e4
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ public static QualityModel ParseQuality(string name, string desc, int fileBitrat
|
|||
{
|
||||
Logger.Debug("Trying to parse quality for '{0}'", name);
|
||||
|
||||
if (name.IsNullOrWhiteSpace())
|
||||
if (name.IsNullOrWhiteSpace() && desc.IsNullOrWhiteSpace())
|
||||
{
|
||||
return new QualityModel { Quality = Quality.Unknown };
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue