1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 09:18:34 +00:00

Add quality to titleFix so it will be added to queue (and looked for in queue) that way. [Quality]

This commit is contained in:
markus101 2011-03-06 22:20:57 -08:00
parent 1ba6cd0d3a
commit 2f8ad5db45

View file

@ -153,9 +153,12 @@ namespace NzbDrone.Core.Providers
Logger.Debug("Show is being watched: {0}", series.Title);
nzb.TitleFix = GetTitleFix(episodeParseResults, series.SeriesId); //Get the TitleFix so we can use it later
nzb.Proper = Parser.ParseProper(nzb.Title);
nzb.Quality = Parser.ParseQuality(nzb.Title);
nzb.TitleFix = String.Format("{0} [{1}]", nzb.TitleFix, nzb.Quality); //Add Quality to the titleFix
//Loop through the list of the episodeParseResults to ensure that all the episodes are needed)
foreach (var episode in episodeParseResults)
{
@ -172,6 +175,7 @@ namespace NzbDrone.Core.Providers
return;
var titleFix = GetTitleFix(new List<EpisodeParseResult> { episode }, episodeModel.SeriesId);
titleFix = String.Format("{0} [{1}]", titleFix, nzb.Quality); //Add Quality to the titleFix
if (_sab.IsInQueue(titleFix))
return;