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:
parent
8aa0754843
commit
44a5654918
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue