mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Better parser logging.
This commit is contained in:
parent
1e580856ca
commit
78268f3c58
7 changed files with 21 additions and 12 deletions
|
@ -77,6 +77,8 @@ namespace NzbDrone.Core
|
|||
result = ParseTitle(fileInfo.FullName);
|
||||
}
|
||||
|
||||
result.OriginalString = path;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -102,6 +104,7 @@ namespace NzbDrone.Core
|
|||
|
||||
result.Language = ParseLanguage(title);
|
||||
result.Quality = ParseQuality(title);
|
||||
result.OriginalString = title;
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
@ -313,8 +316,8 @@ namespace NzbDrone.Core
|
|||
return result;
|
||||
}
|
||||
|
||||
if ((normalizedName.Contains("sdtv") ||
|
||||
(result.QualityType == QualityTypes.Unknown && normalizedName.Contains("hdtv"))) &&
|
||||
if ((normalizedName.Contains("sdtv") ||
|
||||
(result.QualityType == QualityTypes.Unknown && normalizedName.Contains("hdtv"))) &&
|
||||
!normalizedName.Contains("mpeg"))
|
||||
{
|
||||
result.QualityType = QualityTypes.SDTV;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue