mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
renamed some old 'parseResult' variable names.
This commit is contained in:
parent
99958a822d
commit
a8e76b3251
9 changed files with 51 additions and 53 deletions
|
@ -6,7 +6,6 @@ using NzbDrone.Core.Download;
|
|||
|
||||
namespace NzbDrone.Core.Indexers
|
||||
{
|
||||
|
||||
public interface IRssSyncService
|
||||
{
|
||||
void Sync();
|
||||
|
@ -32,10 +31,11 @@ namespace NzbDrone.Core.Indexers
|
|||
{
|
||||
_logger.Info("Starting RSS Sync");
|
||||
|
||||
var parseResults = _rssFetcherAndParser.Fetch();
|
||||
var decisions = _downloadDecisionMaker.GetRssDecision(parseResults);
|
||||
var reports = _rssFetcherAndParser.Fetch();
|
||||
var decisions = _downloadDecisionMaker.GetRssDecision(reports);
|
||||
|
||||
//TODO: this will download multiple of same episode if they show up in RSS. need to
|
||||
//proposal: maybe get download decision one by one, that way
|
||||
|
||||
var qualifiedReports = decisions
|
||||
.Where(c => c.Approved)
|
||||
|
@ -58,7 +58,7 @@ namespace NzbDrone.Core.Indexers
|
|||
}
|
||||
}
|
||||
|
||||
_logger.Info("RSS Sync Completed. Reports found: {0}, Fetches attempted: {1}", parseResults.Count, qualifiedReports.Count());
|
||||
_logger.Info("RSS Sync Completed. Reports found: {0}, Fetches attempted: {1}", reports.Count, qualifiedReports.Count());
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue