mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-03-05 13:20:20 -05:00
Clean up progress log messages in ImportListSyncService
This commit is contained in:
@@ -104,7 +104,7 @@ namespace NzbDrone.Core.ImportLists
|
||||
|
||||
private void SyncList(ImportListDefinition definition)
|
||||
{
|
||||
_logger.ProgressInfo(string.Format("Starting Import List Refresh for List {0}", definition.Name));
|
||||
_logger.ProgressInfo("Starting Import List Refresh for List {0}", definition.Name);
|
||||
|
||||
var result = _listFetcherAndParser.FetchSingleList(definition);
|
||||
|
||||
@@ -214,7 +214,7 @@ namespace NzbDrone.Core.ImportLists
|
||||
}
|
||||
|
||||
// Check to see if series excluded
|
||||
var excludedSeries = listExclusions.Where(s => s.TvdbId == item.TvdbId).SingleOrDefault();
|
||||
var excludedSeries = listExclusions.SingleOrDefault(s => s.TvdbId == item.TvdbId);
|
||||
|
||||
if (excludedSeries != null)
|
||||
{
|
||||
@@ -260,9 +260,7 @@ namespace NzbDrone.Core.ImportLists
|
||||
|
||||
_addSeriesService.AddSeries(seriesToAdd, true);
|
||||
|
||||
var message = string.Format("Import List Sync Completed. Items found: {0}, Series added: {1}", items.Count, seriesToAdd.Count);
|
||||
|
||||
_logger.ProgressInfo(message);
|
||||
_logger.ProgressInfo("Import List Sync Completed. Items found: {0}, Series added: {1}", items.Count, seriesToAdd.Count);
|
||||
}
|
||||
|
||||
public void Execute(ImportListSyncCommand message)
|
||||
|
||||
Reference in New Issue
Block a user