mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
fixup! cleanup
This commit is contained in:
parent
23730ddded
commit
51a57e4918
1 changed files with 11 additions and 0 deletions
|
@ -119,7 +119,18 @@ namespace NzbDrone.Core.ImportLists
|
|||
}
|
||||
}
|
||||
|
||||
if (artistsToAdd.Count > 0)
|
||||
{
|
||||
_logger.ProgressInfo($"Adding {artistsToAdd.Count} artists");
|
||||
}
|
||||
|
||||
var addedArtists = _addArtistService.AddArtists(artistsToAdd, false, true);
|
||||
|
||||
if (albumsToAdd.Count > 0)
|
||||
{
|
||||
_logger.ProgressInfo($"Adding {albumsToAdd.Count} albums");
|
||||
}
|
||||
|
||||
var addedAlbums = _addAlbumService.AddAlbums(albumsToAdd, false, true);
|
||||
|
||||
var message = string.Format($"Import List Sync Completed. Items found: {reports.Count}, Artists added: {addedArtists.Count}, Albums added: {addedAlbums.Count}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue