mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Fixed: Return artist properties for existing albums during album search
Fixes #457
This commit is contained in:
parent
a56e2edb74
commit
6eafffeb2c
1 changed files with 5 additions and 0 deletions
|
@ -255,6 +255,11 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
|
||||||
{
|
{
|
||||||
var album = _albumService.FindById(resource.Id) ?? MapAlbum(resource);
|
var album = _albumService.FindById(resource.Id) ?? MapAlbum(resource);
|
||||||
|
|
||||||
|
if (album.Artist == null)
|
||||||
|
{
|
||||||
|
album.Artist = _artistService.GetArtist(album.ArtistId);
|
||||||
|
}
|
||||||
|
|
||||||
return album;
|
return album;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue