1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-02 21:15:05 +00:00

Log adding missing artist messages as info

This commit is contained in:
Bogdan 2024-12-17 15:46:12 +02:00
parent 8aa0754843
commit 44a5654918

View file

@ -114,7 +114,7 @@ protected override void EnsureNewParent(Album local, Album remote)
// so that the album doesn't just disappear. // so that the album doesn't just disappear.
// TODO filter by metadata id before hitting database // TODO filter by metadata id before hitting database
_logger.Trace($"Ensuring parent artist exists [{remote.ArtistMetadata.Value.ForeignArtistId}]"); _logger.Trace("Ensuring parent artist exists [{0}]", remote.ArtistMetadata.Value.ForeignArtistId);
var newArtist = _artistService.FindById(remote.ArtistMetadata.Value.ForeignArtistId); var newArtist = _artistService.FindById(remote.ArtistMetadata.Value.ForeignArtistId);
@ -130,7 +130,8 @@ protected override void EnsureNewParent(Album local, Album remote)
Monitored = oldArtist.Monitored, Monitored = oldArtist.Monitored,
Tags = oldArtist.Tags Tags = oldArtist.Tags
}; };
_logger.Debug($"Adding missing parent artist {addArtist}");
_logger.Info("Adding missing parent artist {0}", addArtist);
_addArtistService.AddArtist(addArtist); _addArtistService.AddArtist(addArtist);
} }
} }