mirror of
https://github.com/Sonarr/Sonarr
synced 2025-12-06 08:28:37 +01:00
Clean up progress log messages in ImportListSyncService
This commit is contained in:
parent
9683b0af35
commit
ab0d8352e8
1 changed files with 3 additions and 5 deletions
|
|
@ -104,7 +104,7 @@ private void SyncAll()
|
|||
|
||||
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 @@ private void ProcessListItems(List<ImportListItemInfo> items)
|
|||
}
|
||||
|
||||
// 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 @@ private void ProcessListItems(List<ImportListItemInfo> items)
|
|||
|
||||
_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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue