mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 12:33:00 +02:00
Check sab queue now takes quality into consideration
This commit is contained in:
@@ -117,7 +117,7 @@ namespace NzbDrone.Core
|
||||
|
||||
private static EpisodeParseResult ParseMatchCollection(MatchCollection matchCollection)
|
||||
{
|
||||
var seriesName = NormalizeTitle(matchCollection[0].Groups["title"].Value);
|
||||
var seriesName = matchCollection[0].Groups["title"].Value;
|
||||
|
||||
int airyear;
|
||||
Int32.TryParse(matchCollection[0].Groups["airyear"].Value, out airyear);
|
||||
@@ -184,7 +184,7 @@ namespace NzbDrone.Core
|
||||
};
|
||||
}
|
||||
|
||||
parsedEpisode.CleanTitle = seriesName;
|
||||
parsedEpisode.SeriesTitle = seriesName;
|
||||
|
||||
Logger.Trace("Episode Parsed. {0}", parsedEpisode);
|
||||
|
||||
@@ -307,7 +307,15 @@ namespace NzbDrone.Core
|
||||
}
|
||||
}
|
||||
|
||||
if ((normalizedName.Contains("sdtv") || (result.QualityType == QualityTypes.Unknown && normalizedName.Contains("hdtv"))) && !normalizedName.Contains("mpeg"))
|
||||
if (name.Contains("[HDTV]"))
|
||||
{
|
||||
result.QualityType = QualityTypes.HDTV;
|
||||
return result;
|
||||
}
|
||||
|
||||
if ((normalizedName.Contains("sdtv") ||
|
||||
(result.QualityType == QualityTypes.Unknown && normalizedName.Contains("hdtv"))) &&
|
||||
!normalizedName.Contains("mpeg"))
|
||||
{
|
||||
result.QualityType = QualityTypes.SDTV;
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user