mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-26 07:42:49 +00: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 @@ private Album MapSearhResult(AlbumResource resource)
|
|||
{
|
||||
var album = _albumService.FindById(resource.Id) ?? MapAlbum(resource);
|
||||
|
||||
if (album.Artist == null)
|
||||
{
|
||||
album.Artist = _artistService.GetArtist(album.ArtistId);
|
||||
}
|
||||
|
||||
return album;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue