1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-20 13:49:56 +00:00

Check for empty description as well in ParseQuality

This commit is contained in:
Bogdan 2023-09-19 21:32:36 +03:00
parent 44add0d884
commit 44824df7e4

View file

@ -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 };
}