mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-26 11:29:25 +00:00
UI Action Handler Changes, Misc Fixes
This commit is contained in:
@@ -98,7 +98,6 @@ namespace Lidarr.Api.V1.Artist
|
||||
|
||||
var resource = artist.ToResource();
|
||||
MapCoversToLocal(resource);
|
||||
//MapAlbums(resource);
|
||||
FetchAndLinkArtistStatistics(resource);
|
||||
//PopulateAlternateTitles(resource);
|
||||
|
||||
@@ -149,14 +148,6 @@ namespace Lidarr.Api.V1.Artist
|
||||
}
|
||||
}
|
||||
|
||||
private void MapAlbums(params ArtistResource[] artists)
|
||||
{
|
||||
foreach (var artistResource in artists)
|
||||
{
|
||||
artistResource.Albums = _albumService.GetAlbumsByArtist(artistResource.Id).ToResource();
|
||||
}
|
||||
}
|
||||
|
||||
private void FetchAndLinkArtistStatistics(ArtistResource resource)
|
||||
{
|
||||
LinkArtistStatistics(resource, _artistStatisticsService.ArtistStatistics(resource.Id));
|
||||
|
||||
Reference in New Issue
Block a user