mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
UI Action Handler Changes, Misc Fixes
This commit is contained in:
parent
7825319d89
commit
cd5b658196
193 changed files with 6992 additions and 6341 deletions
|
@ -10,7 +10,6 @@ namespace Lidarr.Api.V1.Artist
|
|||
public int? QualityProfileId { get; set; }
|
||||
public int? LanguageProfileId { get; set; }
|
||||
public int? MetadataProfileId { get; set; }
|
||||
//public SeriesTypes? SeriesType { get; set; }
|
||||
public bool? AlbumFolder { get; set; }
|
||||
public string RootFolderPath { get; set; }
|
||||
public List<int> Tags { get; set; }
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -36,7 +36,7 @@ namespace Lidarr.Api.V1.Profiles.Quality
|
|||
Id = model.Id,
|
||||
Name = model.Name,
|
||||
Cutoff = model.Cutoff,
|
||||
Items = model.Items.ConvertAll(ToResource),
|
||||
Items = model.Items.ConvertAll(ToResource)
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -876,8 +876,8 @@
|
|||
<Compile Include="Profiles\Metadata\MetadataProfileRepository.cs" />
|
||||
<Compile Include="Profiles\Metadata\ProfileSecondaryAlbumTypeItem.cs" />
|
||||
<Compile Include="Profiles\Metadata\ProfilePrimaryAlbumTypeItem.cs" />
|
||||
<Compile Include="Profiles\Quality\ProfileRepository.cs" />
|
||||
<Compile Include="Profiles\Quality\QualityIndex.cs" />
|
||||
<Compile Include="Profiles\Qualities\ProfileRepository.cs" />
|
||||
<Compile Include="Profiles\Qualities\QualityIndex.cs" />
|
||||
<Compile Include="ProgressMessaging\ProgressMessageContext.cs" />
|
||||
<Compile Include="Qualities\QualitySource.cs" />
|
||||
<Compile Include="Qualities\Revision.cs" />
|
||||
|
@ -992,11 +992,11 @@
|
|||
<Compile Include="Parser\ParsingService.cs" />
|
||||
<Compile Include="Parser\SceneChecker.cs" />
|
||||
<Compile Include="Parser\QualityParser.cs" />
|
||||
<Compile Include="Profiles\Quality\Profile.cs" />
|
||||
<Compile Include="Profiles\Quality\ProfileInUseException.cs" />
|
||||
<Compile Include="Profiles\Quality\ProfileQualityItem.cs" />
|
||||
<Compile Include="Profiles\Qualities\Profile.cs" />
|
||||
<Compile Include="Profiles\Qualities\ProfileInUseException.cs" />
|
||||
<Compile Include="Profiles\Qualities\ProfileQualityItem.cs" />
|
||||
<Compile Include="Profiles\Delay\DelayProfileRepository.cs" />
|
||||
<Compile Include="Profiles\Quality\ProfileService.cs" />
|
||||
<Compile Include="Profiles\Qualities\ProfileService.cs" />
|
||||
<Compile Include="ProgressMessaging\CommandUpdatedEvent.cs" />
|
||||
<Compile Include="ProgressMessaging\ProgressMessageTarget.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue